too many redirects

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

> On Thursday, November 20, 2014, JACK LINKERS <jacklinkers at>
> 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
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: <>

More information about the nginx mailing list