Enable IPv6 for no-default

This commit is contained in:
Johannes Müller 2017-01-01 20:35:59 +00:00 committed by Andy Dawson
parent 391375e1e7
commit c96e0adf12
2 changed files with 4 additions and 3 deletions

View File

@ -6,6 +6,6 @@
# returning 444 "no response". # returning 444 "no response".
server { server {
listen 80 default_server; listen [::]:80 default_server deferred;
return 444; return 444;
} }

View File

@ -6,6 +6,7 @@
# returning 444 "no response". # returning 444 "no response".
server { server {
listen [::]:443 ssl default_server;
listen 443 ssl default_server; listen 443 ssl default_server;
include h5bp/directive-only/ssl.conf; include h5bp/directive-only/ssl.conf;
return 444; return 444;