Add request time and upstream request time to the nginx logs
Fixes #1026
This commit is contained in:
parent
50f4612c72
commit
dd344aba81
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@ real_ip_recursive on;
|
|||
log_format lb_pp '$remote_addr ($proxy_protocol_addr) '
|
||||
'- $remote_user [$time_local] '
|
||||
'"$request" $status $body_bytes_sent '
|
||||
'"$http_referer" "$http_user_agent"';
|
||||
'"$http_referer" "$http_user_agent" '
|
||||
'($request_time $request_length $upstream_response_time)';
|
||||
|
||||
types_hash_max_size 2048;
|
||||
include /usr/local/nginx/conf/mime.types.default;
|
||||
|
|
Reference in a new issue