-
-
Save glavk/173a45fd97657cbebf0abea09469af76 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
log_format postdata '$time_local $request $request_body'; | |
location = /path { | |
access_log /var/log/nginx/postdata.log postdata; | |
proxy_pass http://localhost:8080; # <= set your port | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment