Re: Handling redirects among upstream servers

2014-11-11 Thread zappa
Ok, thanks for pointing that out. Things are working for me now with an error_page handler for 301s only, so I'll stick with this setup for now. Ico Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254664,254757#msg-254757 ___ nginx mailing l

Re: Handling redirects among upstream servers

2014-11-07 Thread zappa
Btw, why is it you don't recomment using the error_page method? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254664,254684#msg-254684 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Handling redirects among upstream servers

2014-11-07 Thread zappa
Unfortunately I'm not able to change the behaviour of the upstream servers, these are a closed-source commercial product and come as-is. I'll look into the proxy_redirect to see if I can preserve the server to redirect to in some way, something like a GET argument or cookie. I just found out abou

Handling redirects among upstream servers

2014-11-07 Thread zappa
Hello, I'm trying to configure Nginx to access a cluster of application servers using a simple proxy with multiple application servers in the upstream. The application servers use a REST api for object storage and retrieval, and use 301 redirects among the nodes of the cluster for load balancing.