Welcome! Log In Create A New Profile

Advanced

Re: IPv6, HTTPS, and SNI

Maxim Dounin
December 07, 2015 08:02AM
Hello!

On Mon, Dec 07, 2015 at 01:16:06PM +0100, Lukas Tribus wrote:

> > listen 80;
>
> Afaik this will make nginx listen to both IPv4 and IPv6 family.
>
> Specify the real IPv4 adress you want to listen to, to avoid the IPv6 bind.

No, just a port means IPv4 wildcard address.

> > listen [::]:80;
>
> This will make nginx to listen to both IPv6 and IPv4 family.
>
> Specify ipv6only=on [1] as a keyword to avoid the IPv4 bind.

No, IPv6-and-IPv4 listen sockets will be created if and only if
you'll explicitly set the ipv6only parameter to off.

(Before nginx 1.3.4, the operation system setting was used as a
default for ipv6only. This was proven to be a wrong approach, and
now nginx forces ipv6only=on by default. See
http://nginx.org/r/listen for some more details.)

--
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

IPv6, HTTPS, and SNI

Nikolai Lusan December 07, 2015 05:02AM

Re: IPv6, HTTPS, and SNI

itpp2012 December 07, 2015 06:32AM

RE: IPv6, HTTPS, and SNI

Lukas Tribus December 07, 2015 07:18AM

Re: IPv6, HTTPS, and SNI

Maxim Dounin December 07, 2015 08:02AM

Re: IPv6, HTTPS, and SNI

Maxim Dounin December 07, 2015 07:54AM

Re: IPv6, HTTPS, and SNI

Maxim Dounin December 07, 2015 08:02AM

Re: IPv6, HTTPS, and SNI

A. Schulze December 07, 2015 08:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 309
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