Redirecting from to

Thomas iamkenzo at
Thu Sep 18 22:47:45 MSD 2008

On my local dev machine, here is my /etc/hosts file:
--- localhost

And in my Nginx config file I have:
server {
  rewrite ^/(.*)$1 permanent;

But when I want to access or I get the
following error message:
Firefox has detected that the server is redirecting the request for
this address in a way that will never complete.

What could possibly go wrong?

More information about the nginx mailing list