On IRC, Simon suggested this:

16:43 <sdeziel> teward: to add to possible solutions, using "listen
[::]:80 default_server ipv6only=off;" alone seems to do the right thing
no matter what is present, v4 only, v6 only or both

There's one known downside, which is that IPv4 connections are logged as
IPv6 like this:

18:48 <teward> yes, but that makes the logs all log IPv6 addresses
::ffff:10.1.2.3 as an example

However as far as I understand that doesn't lose anything.

Opinions on this as a way of resolving this bug? Summary: we change the
default listen directive to "listen [::]:80 default_server
ipv6only=off;"

Feature freeze is on Thursday, so ideally we should make a decision on
this very soon if we want any change to release in Focal.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1743592

Title:
  NGINX fails to start/install/upgrade if IPv6 is completely disabled.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1743592/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to