some question about server listen

zhijianpeng nginx-forum at nginx.us
Mon Apr 27 17:50:27 MSD 2009


========my nginx.conf===========
server { 

               listen                 10.1.1.1:80;
               server_name             www.test1.com;
               root /opt/test1;
       }

server { 

               listen                 80;
               server_name             www.test2.com;
               root /opt/test2;
       }

 ========my nginx.conf===========
I found that server www.test2.com not listen on 10.1.1.1  ,but only listen on 127.0.0.1,why ?

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






More information about the nginx mailing list