Hello Holbok,
It looks like your system is booted with `ipv6.disable=1`:
Apr 26 08:28:53 kvmf kernel: [ 0.000000] Command line:
BOOT_IMAGE=/vmlinuz-5.4.0-109-generic
root=UUID=a5928baa-1a87-4f79-88a2-eab3489fdea1 ro net.ifnames=0
biosdevname=0 ipv6.disable=1 maybe-ubiquity ipv6.disable=1
Which prevents nginx from binding to `[::]:80`:
Apr 26 09:11:53 kvmf nginx[1641]: nginx: [emerg] socket() [::]:80 failed
(97: Address family not supported by protocol)
You could alter the vhost definition to use `0.0.0.0:80` instead or re-
enable IPv6.
Since this problem is due to a local configuration (disabling IPv6) and
not a package issue, I'll mark the bug as invalid.
** Changed in: nginx (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1970390
Title:
nginx install error on Ubuntu 20.04.04 LTS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1970390/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs