Wildcard subdomains (any change in nginx?)

etrader nginx-forum at nginx.us
Wed Sep 12 18:49:43 UTC 2012


I was using wildcard for including all subdomains for a server_name as

server_name domain.com;

I just installed nginx 1.2.3, but this configuration no longer works and
subdomains lead to nginx 404 page. Since I followed a standard procedure of
installation via apt-get, I suspect something has been changed in new
versions of nginx.

Now, I can only use wildcard for subdomains with

server_name domain.com *.domain.com;

Did I miss something or it is the nginx policy in new versions and
forthcoming ones to discard subdomains without *.domain.com ?

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



More information about the nginx mailing list