Welcome! Log In Create A New Profile

Advanced

some question about server listen

April 27, 2009 02:24AM
========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 ?
Subject Author Posted

some question about server listen

zhijianpeng April 27, 2009 02:24AM

Re: some question about server listen

Igor Sysoev April 27, 2009 09:56AM

Re: some question about server listen

zhijianpeng April 27, 2009 10:04PM

Re: some question about server listen

Igor Sysoev April 28, 2009 12:33AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 247
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready