Welcome! Log In Create A New Profile

Advanced

cookie based proxy redirect

May 06, 2013 04:29PM
Hi, I'm using nginx in a reverse proxy setup with 2 apache 2.4 backends, I've configured a cookie based proxy_pass setup as shown in http://dgtool.blogspot.com/2013/02/nginx-as-sticky-balancer-for-ha-using.html , however php header redirects seem to die (or the browser doesn't like) when nginx goes to redirect them internally with the '502 bad gateway' which should forward it to the upstream pool.

All other urls work fine, but when a request comes in with a header based redirect, something is getting stuck on the 502 bad gateway, the browser just stops with a blank page. Not sure if I can add something to nginx to fix...

Thanks
SubjectAuthorPosted

cookie based proxy redirect

juice-qrMay 06, 2013 04:29PM

Re: cookie based proxy redirect

juice-qrMay 06, 2013 09:15PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 73
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready