Enable IPv6 for no-default
This commit is contained in:
parent
b59fbada2c
commit
d5751cfc18
|
@ -6,7 +6,8 @@
|
||||||
# returning 444 "no response".
|
# returning 444 "no response".
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80 default_server;
|
listen [::]:80 default_server deferred;
|
||||||
|
listen 80 default_server deferred;
|
||||||
server_name _;
|
server_name _;
|
||||||
return 444;
|
return 444;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
server_name _;
|
server_name _;
|
||||||
include h5bp/directive-only/ssl.conf;
|
include h5bp/directive-only/ssl.conf;
|
||||||
|
|
Loading…
Reference in New Issue