Hello!

On Sat, Apr 06, 2013 at 04:05:22PM -0400, B.R. wrote:

> That's exactly what I tried first, and if there are multiple servers
> listening to same ports, I get the following error:
> nginx: [emerg] duplicate listen options for [::]:80 in
> /etc/nginx/conf.d/***.conf:3

You've already been told to only specify listen options once.  
That is, you should write

    server {
        listen [::]:80 ipv6only=on;
        ...
    }

    server {
        listen [::]:80;
        ...
    }

instead of 

    server {
        listen [::]:80 ipv6only=on;
        ...
    }

    server {
        listen [::]:80 ipv6only=on;
        ...
    }

in your config.

-- 
Maxim Dounin
http://nginx.org/en/donation.html

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to