Skip to content

Instantly share code, notes, and snippets.

@mwacc
Last active December 16, 2015 17:48
Show Gist options
  • Save mwacc/5472666 to your computer and use it in GitHub Desktop.
Save mwacc/5472666 to your computer and use it in GitHub Desktop.
postaction example in Ngnix
location / {
root /usr/domain.com/nginx/html;
index index.jsp;
post_action /aftertouching;
}
location /aftertouching {
proxy_pass http://10.25.0.11/count.do?resource=$request&status=$request_completion&fromIp=$remote_addr&body_bytes_sent=$body_bytes_sent;
internal;
}
@mwacc
Copy link
Author

mwacc commented Apr 27, 2013

postaction example in Ngnix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment