Welcome! Log In Create A New Profile

Advanced

Re: Help with X-Accel-Redirect and "rewrite or internal redirection cycle" errors

Iain Barnett
June 06, 2011 09:46PM
On 6 Jun 2011, at 15:55, Maxim Dounin wrote:

>
> There are two options:
>
> 1. You understand things enough to mangle logs and configs, and
> you don't need any help with debugging.
>
> 2. You need help with debugging.
>
> Choose any one. Obviously with (1) there are no reasons to post
> anything here.
>
> If you do care enough about your actual server names but still
> need help with debugging - reproduce the problem in sandbox with
> fake names.
>

Bit harsh, there was no difference to the result from my mistake, and trying to back up a position with a false dilemma rarely works. I think you'll find it's up to me how much information I give about my projects, asking for your help doesn't mean I owe you anything, and giving your help doesn't mean you get to be rude.

>> Ah ha! Looking at the original, the server name is from one of
>> the other site's being proxied to. Does this mean I should use
>> an absolute uri for the X-Accel-Redirect header?
>
> No. The problem is still the same: redirect loop happens not in
> the server{} you provided, but in other one.

I'm finding entries for this in the access logs of a different server, so I'll see if whether on redirect the host name is being passed along.

>
> You haven't provided any info, so just wild guess: you want to
> read about proxy_ignore_headers directive. See here:
>
> http://wiki.nginx.org/HttpProxyModule#proxy_ignore_headers

Well, to say I haven't provided any info is quite a stretch, and if there was other information you thought I should give I think you would be better to say what it is, but thankyou for your help anyway, I'll give it a look.


Regards,
Iain


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Help with X-Accel-Redirect and "rewrite or internal redirection cycle" errors

Iain Barnett June 06, 2011 08:52AM

Re: Help with X-Accel-Redirect and "rewrite or internal redirection cycle" errors

António P. P. Almeida June 06, 2011 09:18AM

Re: Help with X-Accel-Redirect and "rewrite or internal redirection cycle" errors

Iain Barnett June 06, 2011 09:50AM

Re: Help with X-Accel-Redirect and "rewrite or internal redirection cycle" errors

Maxim Dounin June 06, 2011 10:08AM

Re: Help with X-Accel-Redirect and "rewrite or internal redirection cycle" errors

Iain Barnett June 06, 2011 10:24AM

Re: Help with X-Accel-Redirect and "rewrite or internal redirection cycle" errors

Maxim Dounin June 06, 2011 10:56AM

Re: Help with X-Accel-Redirect and "rewrite or internal redirection cycle" errors

Iain Barnett June 06, 2011 09:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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