Welcome! Log In Create A New Profile

Advanced

Re: IPv4 & IPv6

Maxim Dounin
April 06, 2013 05:26PM
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
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

IPv4 & IPv6

B.R. April 05, 2013 04:20PM

Re: IPv4 & IPv6

Maxim Dounin April 05, 2013 05:44PM

Re: IPv4 & IPv6

Ted Lemon April 05, 2013 05:48PM

RE: IPv4 & IPv6

Lukas Tribus April 05, 2013 05:50PM

Re: IPv4 & IPv6

B.R. April 05, 2013 06:10PM

Re: IPv4 & IPv6

Maxim Dounin April 05, 2013 06:22PM

Re: IPv4 & IPv6

B.R. April 05, 2013 08:04PM

Re: IPv4 & IPv6

B.R. April 05, 2013 08:50PM

Re: IPv4 & IPv6

B.R. April 06, 2013 02:28AM

Re: IPv4 & IPv6

Maxim Dounin April 06, 2013 06:40AM

Re: IPv4 & IPv6

B.R. April 06, 2013 10:54AM

Re: IPv4 & IPv6

B.R. April 06, 2013 11:04AM

Re: IPv4 & IPv6

Igor Sysoev April 06, 2013 11:24AM

Re: IPv4 & IPv6

B.R. April 06, 2013 04:08PM

Re: IPv4 & IPv6

Jim Ohlstein April 06, 2013 04:46PM

Re: IPv4 & IPv6

Igor Sysoev April 07, 2013 02:40AM

Re: IPv4 & IPv6

Maxim Dounin April 06, 2013 05:26PM

Re: IPv4 & IPv6

B.R. April 06, 2013 05:46PM

Re: IPv4 & IPv6

Ted Lemon April 05, 2013 06:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 58
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready