nginx: use syslog for error_log

This commit is contained in:
Daniel Micay 2021-09-07 08:00:04 -04:00
parent 8b43fbf266
commit 9d87e3e5b8

View File

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