mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-12-06 21:44:13 +03:00
Add request_time and upstream_response_time to nginx log (#20307)
This commit is contained in:
parent
f7c4ff12f7
commit
8430fbc705
@ -17,7 +17,9 @@ http {
|
|||||||
|
|
||||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||||
'$status $body_bytes_sent "$http_referer" '
|
'$status $body_bytes_sent "$http_referer" '
|
||||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
'"$http_user_agent" "$http_x_forwarded_for" '
|
||||||
|
'request_time="$request_time" upstream_response_time="$upstream_response_time"';
|
||||||
|
|
||||||
|
|
||||||
access_log /dev/stdout main;
|
access_log /dev/stdout main;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user