Skip to content

Commit f0ad4db

Browse files
committed
Add http_upgrade and proxy_connection to log format
1 parent 57f3c85 commit f0ad4db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/log.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ log_format main_json escape=json
88
'"body_bytes_sent":"$body_bytes_sent",'
99
'"host":"$host",'
1010
'"http_connection":"$http_connection",'
11+
'"http_upgrade":"$http_upgrade",'
1112
'"http_referer":"$http_referer",'
1213
'"http_user_agent":"$http_user_agent",'
1314
'"http_x_amzn_trace_id":"$http_x_amzn_trace_id",'
1415
'"http_x_forwarded_for":"$http_x_forwarded_for",'
16+
'"proxy_connection":"$proxy_connection",'
1517
'"proxy_x_forwarded_port":"$proxy_x_forwarded_port",'
1618
'"proxy_x_forwarded_proto":"$proxy_x_forwarded_proto",'
1719
'"proxy_x_forwarded_ssl":"$proxy_x_forwarded_ssl",'

0 commit comments

Comments
 (0)