hi all
I'm run nginx-extras at debian wheezy. nginx have a version 1.2.1-2.2.

Dut i'm can't successfully test so config file:
server {
        #listen 127.0.0.1:8001  backlog=4096 rcvbuf=8192 sndbuf=16384;
        listen 127.0.0.1:8001  rcvbuf=8192 sndbuf=16384;
        server_name 1;
}

server {
#       listen 127.0.0.1:8001  backlog=4096 rcvbuf=8192 sndbuf=16384;
        listen 127.0.0.1:8001  backlog=4096;
        server_name 2;
}

Output test:
nginx -t
nginx: [emerg] duplicate listen options for 127.0.0.1:8001 in /etc/nginx/sites-enabled/2:3
nginx: configuration file /etc/nginx/nginx.conf test failed

it's a bug?
Coz when I editing listen directive to 127.0.0.1:8001 config testing successfully.




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51bec31b.8080...@mail.ru

Reply via email to