enable minimal stderr logging

This commit is contained in:
Daniel Micay 2023-03-07 11:00:08 -05:00
parent 139b0ed376
commit 73cca1dbfb

View File

@ -3,8 +3,8 @@
load_module modules/ngx_http_brotli_static_module.so; load_module modules/ngx_http_brotli_static_module.so;
error_log syslog:server=unix:/dev/log,nohostname; error_log syslog:server=unix:/dev/log,nohostname;
# work around nginx still logging to stderr when using syslog error_log # leave stderr open but minimize duplicate logging to it
error_log /dev/null; error_log stderr emerg;
worker_processes auto; worker_processes auto;
worker_rlimit_nofile 16384; worker_rlimit_nofile 16384;