Should listen *:443 bind to IPv4 and IPv6 ?

Ralph Seichter m16+nginx at monksofcool.net
Wed Jun 13 09:01:09 UTC 2018


Hi folks,

I wonder if I missed an announcement for a change in nginx behaviour
or if some local issue is causing me problems. The configuration

  server {
    listen *:443 ssl default_server;
  }

used to bind to both 0.0.0.0:443 and [::]:443, but since I updated to
nginx 1.15.0 it only binds to IPv4 but no longer to IPv6. When I add
a second listen directive

  server {
    listen *:443 ssl default_server;
    listen [::]:443 ssl default_server;
  }

the server can be reached via both IPv6 and IPv4 again. Was this a
deliberate change?

-Ralph


More information about the nginx mailing list