Move daemon off to supervisor and out of nginx.conf closes #156
This commit is contained in:
@@ -35,5 +35,5 @@ http {
|
|||||||
|
|
||||||
include /etc/nginx/sites-enabled/*;
|
include /etc/nginx/sites-enabled/*;
|
||||||
}
|
}
|
||||||
daemon off;
|
#daemon off;
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ stderr_logfile=/dev/stderr
|
|||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
|
|
||||||
[program:nginx]
|
[program:nginx]
|
||||||
command=/usr/sbin/nginx
|
command=/usr/sbin/nginx -g "daemon off; error_log /dev/stderr info;"
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
priority=10
|
priority=10
|
||||||
|
|||||||
Reference in New Issue
Block a user