use custom format for access log again

This commit is contained in:
Daniel Micay 2022-09-27 10:27:36 -04:00
parent 0e16b5798b
commit 06cd80873f

View File

@ -68,7 +68,7 @@ http {
log_format main '$remote_addr - $remote_user [$time_local] ' log_format main '$remote_addr - $remote_user [$time_local] '
'"$request_method $scheme://$host$request_uri $server_protocol" $status $body_bytes_sent ' '"$request_method $scheme://$host$request_uri $server_protocol" $status $body_bytes_sent '
'"$http_referer" "$http_user_agent"'; '"$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; error_log syslog:server=unix:/dev/log,nohostname;
log_not_found off; log_not_found off;