Last active
December 16, 2015 17:48
-
-
Save mwacc/5472666 to your computer and use it in GitHub Desktop.
postaction example in Ngnix
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
| 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; | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
postaction example in Ngnix