diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2023-02-11 04:05:33 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2023-02-11 04:05:33 -0500 |
| commit | 7fcd8bf9a842c61d83d1deba68a53e647bedca7f (patch) | |
| tree | edc7f10f0c37ecca5bf07d517b9f9753bd441756 /nginx/nginx.conf | |
| parent | f6bf4d9ca28fa7d30fb4d0133a0f02037299364c (diff) | |
move error_log configuration to top level
Diffstat (limited to 'nginx/nginx.conf')
| -rw-r--r-- | nginx/nginx.conf | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
