Redirect (almost) all subdomains to www?

Reinis Rozitis r at roze.lv
Tue Sep 28 17:31:48 MSD 2010


> What's the best way to do this?


http://nginx.org/en/docs/http/converting_rewrite_rules.html
http://nginx.org/en/docs/http/server_names.html

Should explain how to do that - in short you make a default "catch all" 
server block and redirect to www.yourdomain.com .

rr
 




More information about the nginx mailing list