Add empty server_name for no-default config

This commit is contained in:
Johannes Müller 2016-11-23 23:53:01 +00:00
parent cb3dc0554e
commit b59fbada2c
2 changed files with 2 additions and 0 deletions

View File

@ -7,5 +7,6 @@
server {
listen 80 default_server;
server_name _;
return 444;
}

View File

@ -7,6 +7,7 @@
server {
listen 443 ssl default_server;
server_name _;
include h5bp/directive-only/ssl.conf;
return 444;
}