How to disable auto redirect to visual host?

abcomp01 nginx-forum at nginx.us
Tue Jun 26 06:47:10 UTC 2012


server {
server_name www.clickzeed.com;
listen 80;
server_name_in_redirect off;
root /home/wwwroot/clickzeed;
}


but i not set anything about www.test.com

when i access www.test.com in visual host it auto redirect to t
/home/wwwroot/clickzeed ?

and how ro config to access ip different doc root not auto ?


* www.test.com it test domain

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



More information about the nginx mailing list