From ba88a05a533cb23ebbe18720163938c8d48146fb Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 27 Sep 2022 10:23:23 -0400 Subject: [PATCH] use custom format for access log again --- nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index e3de3352..55bfd9d5 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -68,7 +68,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 syslog:server=unix:/dev/log,nohostname; + access_log syslog:server=unix:/dev/log,nohostname main; error_log syslog:server=unix:/dev/log,nohostname; log_not_found off;