too many redirects

seminal micahfsu at
Thu Oct 6 03:32:52 UTC 2011

I'm following the wiki's guidelines with:

   server {
   rewrite ^$request_uri? permanent;

I'm getting a "this page has too many redirects error".  So I tried:

location = { rewrite permanent; }

This worked after I had gone to but if I clear the cache and
first go to (like a first-time user) I get a "DNS lookup

Any suggestions, thanks.

View this message in context:
Sent from the nginx mailing list archive at

More information about the nginx mailing list