IPv6 only is the default

This commit is contained in:
Jack Wearden 2014-08-21 00:32:02 +01:00
parent 264738a043
commit 0ccf9b03cb
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# the right one -- http://wiki.nginx.org/Pitfalls#Server_Name
#
server {
listen [::]:80 ipv6only=on;
listen [::]:80;
listen 80;
# listen on both hosts
@ -16,7 +16,7 @@ server {
}
server {
listen [::]:443 ipv6only=on ssl spdy;
listen [::]:443 ssl spdy;
listen 443 ssl spdy;
# listen on the wrong host
@ -29,7 +29,7 @@ server {
}
server {
listen [::]:443 ipv6only=on ssl spdy;
listen [::]:443 ssl spdy;
listen 443 ssl spdy;
# The host name to respond to