diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-09-07 08:00:04 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-09-07 08:00:17 -0400 |
| commit | 9d87e3e5b82377a95932d03d5a2ea14caac52030 (patch) | |
| tree | ffa87ec55fc127b5a856acab0952711de4bc4a8f | |
| parent | 8b43fbf26635a42e329bd7175d2ebb15faadc915 (diff) | |
nginx: use syslog for error_log
| -rw-r--r-- | nginx/nginx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index b1f19440..076e4431 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -64,7 +64,7 @@ http { '"$request_method $scheme://$host$request_uri $server_protocol" $status $body_bytes_sent ' '"$http_referer" "$http_user_agent"'; access_log /var/log/nginx/access.log main buffer=64k flush=1m; - error_log /var/log/nginx/error.log; + error_log syslog:server=unix:/dev/log,nohostname; log_not_found off; gzip_proxied any; |
