add request time to log format

This commit is contained in:
Daniel Micay 2023-02-10 08:28:49 -05:00
parent 7f61787026
commit 4540f10175

View File

@ -66,7 +66,7 @@ http {
log_format main '$connection $remote_addr $remote_user $ssl_protocol $server_protocol '
'$host "$request_uri" $status $request_length $body_bytes_sent/$bytes_sent '
'"$http_referer" "$http_user_agent"';
'$request_time "$http_referer" "$http_user_agent"';
access_log syslog:server=unix:/dev/log,nohostname main;
error_log syslog:server=unix:/dev/log,nohostname;
log_not_found off;