Welcome! Log In Create A New Profile

Advanced

intercepting proxy_pass response

October 27, 2014 01:44PM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

intercepting proxy_pass response

rzzldzzl October 27, 2014 01:44PM

Re: intercepting proxy_pass response

Maxim Dounin October 27, 2014 02:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 254
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready