Welcome! Log In Create A New Profile

Advanced

Re: Multiple Upstream Servers Result in Error 310 (net::ERR_TOO_MANY_REDIRECTS)

March 06, 2012 05:07PM
Cliff,

The application performs a redirect because that was the way it was originally designed. It uses the ACEGI security framework. I have turned the ACEGI HTTP -> HTTPS redirect off with the same behavior however.

After my post, I stumbled across the ip_hash upstream variable and that has resolved the issue. Or at least, masked it and made things functional.

I am aware that Nginx is talking to JBoss via HTTP, not HTTPS. Nginx is acting as our front-end SSL termination point, we don't have JBoss configured to answer SSL requests, although for security purposes, that is on my 'to-do' list. Right now, clients don't communicate directly with the JBoss servers, only Nginx, so communication over the internet is encrypted.

I am confused by your statement, "It's not clear why you even bother with the proxy_pass in this location. Just redirect to the HTTPS location and be done." I am new to Nginx, so I followed the Nginx load balancing example (http://wiki.nginx.org/LoadBalanceExample). Is there an easier/better way to configure load balancing among multiple upstream servers?

Thank you for your input,

Matt
Subject Author Posted

Multiple Upstream Servers Result in Error 310 (net::ERR_TOO_MANY_REDIRECTS)

mevans336 March 06, 2012 04:08PM

Re: Multiple Upstream Servers Result in Error 310 (net::ERR_TOO_MANY_REDIRECTS)

Cliff Wells March 06, 2012 04:48PM

Re: Multiple Upstream Servers Result in Error 310 (net::ERR_TOO_MANY_REDIRECTS)

mevans336 March 06, 2012 05:07PM

Re: Multiple Upstream Servers Result in Error 310 (net::ERR_TOO_MANY_REDIRECTS)

Cliff Wells March 06, 2012 08:00PM

Re: Multiple Upstream Servers Result in Error 310 (net::ERR_TOO_MANY_REDIRECTS)

Francis Daly March 06, 2012 05:08PM

Re: Multiple Upstream Servers Result in Error 310 (net::ERR_TOO_MANY_REDIRECTS)

Cliff Wells March 06, 2012 08:14PM

Re: Multiple Upstream Servers Result in Error 310 (net::ERR_TOO_MANY_REDIRECTS)

mevans336 March 07, 2012 07:20AM

Re: Multiple Upstream Servers Result in Error 310 (net::ERR_TOO_MANY_REDIRECTS)

Cliff Wells March 07, 2012 07:54AM

Re: Multiple Upstream Servers Result in Error 310 (net::ERR_TOO_MANY_REDIRECTS)

mevans336 March 08, 2012 09:15AM

Re: Multiple Upstream Servers Result in Error 310 (net::ERR_TOO_MANY_REDIRECTS)

mevans336 March 07, 2012 07:23AM

Re: Multiple Upstream Servers Result in Error 310 (net::ERR_TOO_MANY_REDIRECTS)

Francis Daly March 08, 2012 01:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 287
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