rewrite catch all subdomain

Pedro Axl lists at
Mon Mar 10 19:48:13 MSK 2008

Thank You Denis,

It's strange, If I enter directly on I receive an error 
(of the Firefox): "The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this 
address in a way that will never complete."

If I enter I am redirected to and I 
got that error.

But if I go to I receive the "Server not found" 

Denis S. Filimonov wrote:
> Try this:
> location / {
>     rewrite .*$uri last;
> }

Posted via

More information about the nginx mailing list