Ensure nginx writes properly to stdout/stderr
This commit is contained in:
parent
54c2021348
commit
7078cdfe7d
2 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ events {
|
||||||
|
|
||||||
# Log errors and warnings to this file
|
# Log errors and warnings to this file
|
||||||
# This is only used when you don't override it on a server{} level
|
# This is only used when you don't override it on a server{} level
|
||||||
error_log stderr warn;
|
error_log /dev/stderr warn;
|
||||||
|
|
||||||
# The file storing the process ID of the main process
|
# The file storing the process ID of the main process
|
||||||
pid /var/run/nginx.pid;
|
pid /var/run/nginx.pid;
|
||||||
|
@ -52,7 +52,7 @@ http {
|
||||||
|
|
||||||
# Log access to this file
|
# Log access to this file
|
||||||
# This is only used when you don't override it on a server{} level
|
# This is only used when you don't override it on a server{} level
|
||||||
access_log stdout main;
|
access_log /dev/stdout main;
|
||||||
|
|
||||||
# How long to allow each connection to stay idle.
|
# How long to allow each connection to stay idle.
|
||||||
# Longer values are better for each individual client, particularly for SSL,
|
# Longer values are better for each individual client, particularly for SSL,
|
||||||
|
|
|
@ -6,7 +6,7 @@ pidfile=/var/run/supervisord.pid
|
||||||
command=/usr/local/sbin/php-fpm
|
command=/usr/local/sbin/php-fpm
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
priority=5
|
priority=10
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
|
@ -16,7 +16,7 @@ stderr_logfile_maxbytes=0
|
||||||
command=/usr/sbin/nginx
|
command=/usr/sbin/nginx
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
priority=10
|
priority=20
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue