move error_log configuration to top level

This commit is contained in:
Daniel Micay 2023-02-11 04:05:33 -05:00
parent f6bf4d9ca2
commit 7fcd8bf9a8

View File

@ -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;