diff --git a/nginx/nginx.conf b/nginx/nginx.conf index dbf6e7c..4b40d5c 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -67,7 +67,7 @@ http { log_format main '$remote_addr - $remote_user [$time_local] ' '"$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; + access_log syslog:server=unix:/dev/log,nohostname; error_log syslog:server=unix:/dev/log,nohostname; log_not_found off;