Add empty server_name for no-default config
This commit is contained in:
parent
cb3dc0554e
commit
b59fbada2c
|
@ -7,5 +7,6 @@
|
|||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
server_name _;
|
||||
return 444;
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
server {
|
||||
listen 443 ssl default_server;
|
||||
server_name _;
|
||||
include h5bp/directive-only/ssl.conf;
|
||||
return 444;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue