From 7fcd8bf9a842c61d83d1deba68a53e647bedca7f Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 11 Feb 2023 04:05:33 -0500 Subject: [PATCH] move error_log configuration to top level --- nginx/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 6a80bd94..80a53b12 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -2,6 +2,8 @@ load_module modules/ngx_http_brotli_static_module.so; +error_log syslog:server=unix:/dev/log,nohostname; + worker_processes auto; worker_rlimit_nofile 16384; @@ -68,7 +70,6 @@ http { '$host "$request_uri" $status $request_length $body_bytes_sent/$bytes_sent ' '$request_time "$http_referer" "$http_user_agent"'; access_log syslog:server=unix:/dev/log,nohostname main; - error_log syslog:server=unix:/dev/log,nohostname; log_not_found off; gzip_proxied any;