mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-07-01 14:25:46 +00:00
Fix for #188 - remove hostname from default SSL block
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user