Why doesn't this IPv6 listen directive also accept IPv4?
Solution 1:
The wiki is out of date. As specified in the actual documentation, the default for ipv6only
is on
since nginx 1.3.4. If you omit the parameter, then nginx will only bind to IPv6. The OS settings are never used.