Using different way to redirect Nginx messages to stdout / stderr

This commit is contained in:
Alexey Pustovalov
2024-01-19 13:17:09 +09:00
parent b771cb15d1
commit bb5de25caa
45 changed files with 105 additions and 91 deletions

View File

@ -2,7 +2,7 @@
nodaemon = true
[program:nginx]
command = /usr/sbin/%(program_name)s -g "daemon off;error_log /dev/stdout info;" -c /etc/nginx/%(program_name)s.conf
command = /usr/sbin/%(program_name)s -g "daemon off;error_log /var/log/nginx/error.log error;" -c /etc/nginx/%(program_name)s.conf
auto_start = true
autorestart = true