Proxying POST requests for the given conditions

M. G. techgarry75 at yahoo.com
Mon May 12 07:29:07 UTC 2014


Hi,


For all POST requests to nginx. 


We want to proxy_pass to http://192.168.1.1:8000 if test=1 or to http://192.168.1.2:8080 if test=0 


How to configure the above. 


Thanks,
M. G.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140512/e8a8aa46/attachment.html>


More information about the nginx mailing list