summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nginx/nginx.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 890dff3a..cb001416 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -3,8 +3,8 @@
load_module modules/ngx_http_brotli_static_module.so;
error_log syslog:server=unix:/dev/log,nohostname;
-# work around nginx still logging to stderr when using syslog error_log
-error_log /dev/null;
+# leave stderr open but minimize duplicate logging to it
+error_log stderr emerg;
worker_processes auto;
worker_rlimit_nofile 16384;