Welcome! Log In Create A New Profile

Advanced

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

March 06, 2012 08:00PM
On 03/06/2012 02:07 PM, mevans336 wrote:
> 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 was just making sure that was considered. In any case I suspect
Francis is right in his assessment, and that's why using the ip_hash
directive solved your issue. Good work on that. I haven't personally
encountered frameworks with this issue so it didn't occur to me.

> 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."

What I meant is that you are doing a "rewrite permanent", followed by
the proxy_pass. This means that either the proxy_pass will never be
executed. Sorry I wasn't clear.

Regards,
Cliff

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 187
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready