Created
July 16, 2020 22:03
-
-
Save josemiguelq/ce1fea5b4b2eef8f0673ea17442e4cbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
log_format main escape=json '{' | |
'"timestamp":"$time_local",' | |
'"remote_addr":"$remote_addr",' | |
'"request":"$request",' | |
'"request_method":"$request_method",' | |
'"request_uri":"$request_uri",' | |
'"status_code":"$status",' | |
'"http_user_agent":"$http_user_agent",' | |
'"http_x_forwarded_for":"$http_x_forwarded_for",' | |
'"http_referer":"$http_referer",' | |
'"remote_user":"$remote_user",' | |
'"scheme":"$scheme"' | |
'}'; | |
access_log /dev/stdout main; | |
error_log /dev/stderr error; | |
. | |
. | |
. | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment