Welcome! Log In Create A New Profile

Advanced

Re: too many redirects

November 20, 2014 04:08PM
I completely lost...
I tried everything (of my understanding) with no success.
I didn't know you could include a condition with if and came across sites
like :
http://publications.jbfavre.org/web/nginx-vhosts-automatiques-avec-SSL-et-authentification.fr
This is way beyond my skills... I didn't managhe to enclose the 301 in if
statements
I think i'm gonna givin up

2014-11-20 10:27 GMT+01:00 JACK LINKERS <jacklinkers@gmail.com>:

> Hi guys,
>
> Thanks for your fast reply and input.
> I didn't think of wordpress at all.
>
> I'll try some tuning and keep you posted.
>
> Thanks again
> Le 20 nov. 2014 09:52, "B.R." <reallfqq-nginx@yahoo.fr> a écrit :
>
>> On Thursday, November 20, 2014, JACK LINKERS <jacklinkers@gmail.com>
>>> wrote:
>>>
>>>> rewrite ^ https://$server_name$request_uri? permanent;
>>>>
>>>
>> ​This looks highly suscpicious to me: unconditional rewrite of any
>> request?
>>
>> Try to either:
>> - match the regex against HTTP requests
>> - enclose a 'return 301 [...]' in an 'if' directive checking for the HTTP
>> scheme
>> I am not 100% certain what would be the best alternative to go for.
>>
>> If the problem comes from there, I do not really get how the backend gets
>> to serve any (error) page... So maybe Wordpress trouble as stated before..
>> ---
>> *B. R.*
>> ​
>>
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

too many redirects

shiroweb November 20, 2014 03:24AM

Re: too many redirects

dewanggaba November 20, 2014 03:28AM

Re: too many redirects

B.R. November 20, 2014 03:52AM

Re: too many redirects

shiroweb November 20, 2014 04:28AM

Re: too many redirects

shiroweb November 20, 2014 04:08PM

Re: too many redirects

B.R. November 20, 2014 05:28PM

Re: too many redirects

GreenGecko November 20, 2014 05:32PM

Re: too many redirects

Francis Daly November 20, 2014 07:10PM

Re: too many redirects

shiroweb November 21, 2014 03:04AM

Re: too many redirects

Francis Daly November 21, 2014 02:32PM

Re: too many redirects

shiroweb November 22, 2014 01:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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