Created
January 28, 2016 23:04
-
-
Save jdunck/d9fd79e2627ea972cfa7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
In nginx.conf, in the Logging Settings section: | |
log_format replay '[$time_local] $server_name $status $content_type $request_method XX_HOST_XX$request_uri Authorization:"$http_authorization" $request_body_file'; | |
In specific server/location's config: | |
client_body_in_file_only on; | |
access_log /var/log/nginx/whatever-replay.log replay; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment