Skip to content

Instantly share code, notes, and snippets.

@rch850
Created February 27, 2014 04:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save rch850/9244419 to your computer and use it in GitHub Desktop.
Save rch850/9244419 to your computer and use it in GitHub Desktop.
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