Welcome! Log In Create A New Profile

Advanced

RE: IPv6, HTTPS, and SNI

Lukas Tribus
December 07, 2015 07:18AM
Hi,



> 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.



> 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.


Same goes for 443/ssl.


Imho, what you want is just listen to both address-families
(without declaring IPv6):
listen 80;
listen 443 ssl;



Regards,

Lukas




[1] http://nginx.org/en/docs/http/ngx_http_core_module.html#listen


_______________________________________________
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: 295
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