Nginx 1.0.3
I have a virtual host file with a simple config:
server {
listen 8080;
server_name domain.com www.domain.com;
root /var/www/html/dm2011/pub;
access_log /var/log/nginx/access.log main;
location / {
index index.htm index.html;
}
}
Requests for 'domain.com' return the correct index page but requests for 'www.domain.com' return only the "Welcome to nginx!" page. I tried *.domain.com also as the 2nd name but the result was the same. There are no DNS issues with both versions of the domain.
gvim
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx