Page 1 of 1

NGINX PHPFPM SSL ISSUE

Posted: Tue Apr 17, 2018 1:03 pm
by artstyle
nginx+phpfpm7 debian 9
trying to install lets encrypt ssl support
checking the boxes 'SSL Support' ' Lets Encrypt Support'
getting ssl certificate ... nginx restarting and....... nothing. nginx couldnt start

Code: Select all

● nginx.service - nginx - high performance web server
   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2018-04-17 16:02:34 MSK; 7s ago
     Docs: http://nginx.org/en/docs/
  Process: 11222 ExecStop=/bin/kill -s TERM $MAINPID (code=exited, status=0/SUCCESS)
  Process: 10898 ExecReload=/bin/kill -s HUP $MAINPID (code=exited, status=0/SUCCESS)
  Process: 27281 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS)
  Process: 11225 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=1/FAILURE)
 Main PID: 27284 (code=exited, status=0/SUCCESS)

Apr 17 16:02:34 srv.test.ru systemd[1]: Starting nginx - high performance web server...
Apr 17 16:02:34 srv.test.ru nginx[11225]: nginx: [emerg] open() "/home/admin/conf/web/test.ru.auth" failed (2: No such file or directory) in /home/admin/conf/web/rindu
Apr 17 16:02:34 srv.test.ru nginx[11225]: nginx: configuration file /etc/nginx/nginx.conf test failed
Apr 17 16:02:34 srv.test.ru systemd[1]: nginx.service: Control process exited, code=exited status=1
Apr 17 16:02:34 srv.test.ru systemd[1]: Failed to start nginx - high performance web server.
Apr 17 16:02:34 srv.test.ru systemd[1]: nginx.service: Unit entered failed state.
Apr 17 16:02:34 srv.test.ru systemd[1]: nginx.service: Failed with result 'exit-code'.