mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2024-12-21 05:44:35 -05:00
add request time to log format
This commit is contained in:
parent
7f61787026
commit
4540f10175
@ -66,7 +66,7 @@ http {
|
|||||||
|
|
||||||
log_format main '$connection $remote_addr $remote_user $ssl_protocol $server_protocol '
|
log_format main '$connection $remote_addr $remote_user $ssl_protocol $server_protocol '
|
||||||
'$host "$request_uri" $status $request_length $body_bytes_sent/$bytes_sent '
|
'$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;
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user