IPv6 only is the default
This commit is contained in:
parent
264738a043
commit
0ccf9b03cb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue