IPv6 only is the default

This commit is contained in:
Jack Wearden 2014-08-21 00:31:37 +01:00
parent 9326c69219
commit 264738a043
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
# the right one -- http://wiki.nginx.org/Pitfalls#Server_Name # the right one -- http://wiki.nginx.org/Pitfalls#Server_Name
server { server {
# don't forget to tell on which port this server listens # don't forget to tell on which port this server listens
listen [::]:80 ipv6only=on; listen [::]:80;
listen 80; listen 80;
# listen on the www host # listen on the www host
@ -17,7 +17,7 @@ server {
server { server {
# listen 80 deferred; # for Linux # listen 80 deferred; # for Linux
# listen 80 accept_filter=httpready; # for FreeBSD # listen 80 accept_filter=httpready; # for FreeBSD
listen [::]:80 ipv6only=on; listen [::]:80;
listen 80; listen 80;
# The host name to respond to # The host name to respond to