Fixed ipv6
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1162177