-
Notifications
You must be signed in to change notification settings - Fork 1
/
nginx.conf
19 lines (19 loc) · 966 Bytes
/
nginx.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
log_format json '{"@timestamp":"$time_iso8601",'
'"@version":"1",'
'"server_addr":"$server_addr",'
'"remote_addr":"$remote_addr",'
'"request_method":"$request_method",'
'"scheme":"$scheme",'
'"host":"$host",'
'"server_protocol": "$server_protocol",'
'"status":"$status",'
'"body_bytes_sent":$body_bytes_sent,'
'"http_user_agent":"$http_user_agent",'
'"http_x_forwarded_for":"$http_x_forwarded_for",'
'"request_time":$request_time,'
'"upstream_addr":"$upstream_addr",'
'"upstream_status":"$upstream_status",'
'"upstream_response_time":"$upstream_response_time",'
'"upstream_http_x_upstream_info":"$upstream_http_x_upstream_info",'
'"http_referer":"$http_referer",'
'"request_uri":"$request_uri"}';