Do you need separate IPv4 and IPv6 listen directives in nginx?
That probably is about the only reason you would use the former construct, these days. The reason you’re seeing this is probably that the default of ipv6only changed in nginx 1.3.4. Prior to that, it defaulted to off; in newer versions it defaults to on. This happens to interact with the IPV6_V6ONLY socket option on … Read more