Add new comment

good day, hope you are well. I have followed your guide, however nginx fails to start

● nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2019-01-15 20:47:17 EST; 28s ago
Process: 25182 ExecStartPre=/usr/sbin/nginx -t (code=exited, status=1/FAILURE)
Process: 25181 ExecStartPre=/usr/bin/rm -f /run/nginx.pid (code=exited, status=0/SUCCESS)
Main PID: 29339 (code=exited, status=0/SUCCESS)

Jan 15 20:47:17 vps220319.vps.ovh.ca systemd[1]: Starting The nginx HTTP and reverse proxy server...
Jan 15 20:47:17 vps220319.vps.ovh.ca nginx[25182]: nginx: [emerg] pcre_compile() failed: unrecognized character after (? or (?- in "SESS[[:alnum:]]+=....conf:53
Jan 15 20:47:17 vps220319.vps.ovh.ca nginx[25182]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jan 15 20:47:17 vps220319.vps.ovh.ca systemd[1]: nginx.service: control process exited, code=exited status=1
Jan 15 20:47:17 vps220319.vps.ovh.ca systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
Jan 15 20:47:17 vps220319.vps.ovh.ca systemd[1]: Unit nginx.service entered failed state.
Jan 15 20:47:17 vps220319.vps.ovh.ca systemd[1]: nginx.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@vps220319 ~]# systemctl restart nginx
Job for nginx.service failed because the control process exited with error code . See "systemctl status nginx.service" and "journalctl -xe" for details.

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.