Skip to content

Commit 55cc4b6

Browse files
committed
Add http_connection to json logging (for Connection header)
1 parent 2c9b4cb commit 55cc4b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/log.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ log_format main_json escape=json
77
'{'
88
'"body_bytes_sent":"$body_bytes_sent",'
99
'"host":"$host",'
10+
'"http_connection":"$http_connection",'
1011
'"http_referrer":"$http_referer",'
1112
'"http_user_agent":"$http_user_agent",'
1213
'"http_x_forwarded_for":"$http_x_forwarded_for",'

0 commit comments

Comments
 (0)