From 365d7ecfd09eba884a39ac94c8c29ded89ad2602 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 6 Mar 2023 00:51:01 -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 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;