summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2023-03-06 00:51:01 -0500
committerDaniel Micay <danielmicay@gmail.com>2023-03-06 00:52:05 -0500
commit365d7ecfd09eba884a39ac94c8c29ded89ad2602 (patch)
treece95fd7b2b3d9d2a629a9184d40fb50fec0f5f25
parentccd509a8361da3fd858e452ec9d176a1f4d60c51 (diff)
avoid double logging for nginx error log
-rw-r--r--nginx/nginx.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index 2917d545..85b3a31c 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -3,6 +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;
worker_processes auto;
worker_rlimit_nofile 16384;