Ensure nginx writes properly to stdout/stderr

This commit is contained in:
Michael Contento 2017-04-27 15:04:55 +02:00
parent 54c2021348
commit 7078cdfe7d
2 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ events {
# Log errors and warnings to this file
# 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
pid /var/run/nginx.pid;
@ -52,7 +52,7 @@ http {
# Log access to this file
# 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.
# Longer values are better for each individual client, particularly for SSL,

View File

@ -6,7 +6,7 @@ pidfile=/var/run/supervisord.pid
command=/usr/local/sbin/php-fpm
autostart=true
autorestart=true
priority=5
priority=10
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
@ -16,7 +16,7 @@ stderr_logfile_maxbytes=0
command=/usr/sbin/nginx
autostart=true
autorestart=true
priority=10
priority=20
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr