Add "$http3" variable to logs
This commit is contained in:
@@ -94,8 +94,8 @@ http {
|
||||
|
||||
# Log format Settings
|
||||
log_format rt_cache '$remote_addr $upstream_response_time $upstream_cache_status [$time_local] '
|
||||
'$http_host "$request" $status $body_bytes_sent '
|
||||
'"$http_referer" "$http_user_agent" "$server_protocol"';
|
||||
'$host "$request" $status $body_bytes_sent '
|
||||
'"$http_referer" "$http_user_agent" "$server_protocol" "$http3"';
|
||||
|
||||
##
|
||||
# Virtual Host Configs
|
||||
|
||||
@@ -48,8 +48,8 @@ error_log /var/log/nginx/error.log;
|
||||
|
||||
# Log format Settings
|
||||
log_format rt_cache '$remote_addr $upstream_response_time $upstream_cache_status [$time_local] '
|
||||
'$http_host "$request" $status $body_bytes_sent '
|
||||
'"$http_referer" "$http_user_agent" "$request_body"';
|
||||
'$host "$request" $status $body_bytes_sent '
|
||||
'"$http_referer" "$http_user_agent" "$request_body" "$http3"';
|
||||
|
||||
##
|
||||
# Gzip Settings
|
||||
|
||||
Reference in New Issue
Block a user