Add default server to handle requests for unknown hosts via HTTPS

This commit is contained in:
Yasir Arsanukaev 2015-12-30 01:41:34 +10:00
parent 6e4b16c4cf
commit d5dc26fd21
1 changed files with 5 additions and 0 deletions

View File

@ -7,5 +7,10 @@
server { server {
listen 80 default_server; listen 80 default_server;
# If you're using HTTPS, uncomment the following directives
# listen 443 ssl default_server;
# include h5bp/directive-only/ssl.conf;
return 444; return 444;
} }