intercepting proxy_pass response

Joe Rizzo jrizzo at rizzos.net
Mon Oct 27 17:43:33 UTC 2014


Hi -
I have somewhat of a unique requirement.

If the http response from a proxied(proxy_pass) request is 302, I want to
clear a cookie and redirect to a specific url.  Is is possible to intercept
the 302 from the app server and force my own redirect?

Thanks,
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20141027/d5ca69b6/attachment.html>


More information about the nginx mailing list