too many redirects

JACK LINKERS jacklinkers at gmail.com
Thu Nov 20 21:07:22 UTC 2014


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 at 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 at yahoo.fr> a écrit :
>
>> On Thursday, November 20, 2014, JACK LINKERS <jacklinkers at 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 at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20141120/c73243c4/attachment-0001.html>


More information about the nginx mailing list