Welcome! Log In Create A New Profile

Advanced

Wildcard subdomains (any change in nginx?)

September 12, 2012 02:49PM
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 ?
SubjectAuthorPosted

Wildcard subdomains (any change in nginx?)

etraderSeptember 12, 2012 02:49PM

Re: Wildcard subdomains (any change in nginx?)

VBartSeptember 12, 2012 03:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready