From 697f926f63d7239ad926cc8b99252f823d8f7cd6 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 6 Mar 2023 00:55:32 -0500 Subject: [PATCH] avoid double logging for nginx error log --- nginx/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 66816bb..bfcd16b 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;