too many redirects

B.R. reallfqq-nginx at yahoo.fr
Thu Nov 20 08:44:02 UTC 2014


>
> 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.*
​
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20141120/e63fa799/attachment.html>


More information about the nginx mailing list