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