Rewrite regexp for subdomains

shitit nginx-forum at nginx.us
Sat Oct 30 22:08:12 MSD 2010


Hi i need to blabla.example.org or dummy.example.org anotherdummy send
me to www.example.org (another words *.example.org must redirect to
www.example.org) but when i type www.example.org it can't send to
www.example.org cause it's loop. Help me to realize this construction.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,146043,146043#msg-146043




More information about the nginx mailing list