mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-22 11:56:31 +00:00
Fix for #188 - remove hostname from default SSL block
This commit is contained in:
parent
214ff827d3
commit
d3f56468b1
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user