1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-11-25 13:26:30 +00:00

Fix for #188 - remove hostname from default SSL block

This commit is contained in:
Ray Walker 2015-08-26 12:49:59 +10:00
parent 214ff827d3
commit d3f56468b1

View File

@ -152,7 +152,7 @@ server {
{{ if (and (exists "/etc/nginx/certs/default.crt") (exists "/etc/nginx/certs/default.key")) }}
server {
server_name {{ $host }};
server_name _;
listen 443 ssl spdy {{ $default_server }};
return 503;