Fix for #188 - remove hostname from default SSL block
This commit is contained in:
parent
214ff827d3
commit
d3f56468b1
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ server {
|
||||||
|
|
||||||
{{ if (and (exists "/etc/nginx/certs/default.crt") (exists "/etc/nginx/certs/default.key")) }}
|
{{ if (and (exists "/etc/nginx/certs/default.crt") (exists "/etc/nginx/certs/default.key")) }}
|
||||||
server {
|
server {
|
||||||
server_name {{ $host }};
|
server_name _;
|
||||||
listen 443 ssl spdy {{ $default_server }};
|
listen 443 ssl spdy {{ $default_server }};
|
||||||
return 503;
|
return 503;
|
||||||
|
|
||||||
|
|
Reference in a new issue