Add a default server for https
This commit is contained in:
parent
f03c08068b
commit
42645d88d6
1 changed files with 6 additions and 0 deletions
|
|
@ -37,6 +37,12 @@ server {
|
||||||
return 503;
|
return 503;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 443 default_server;
|
||||||
|
server_name _;
|
||||||
|
return 503;
|
||||||
|
}
|
||||||
|
|
||||||
{{ range $host, $containers := groupByMulti $ "Env.VIRTUAL_HOST" "," }}
|
{{ range $host, $containers := groupByMulti $ "Env.VIRTUAL_HOST" "," }}
|
||||||
|
|
||||||
upstream {{ $host }} {
|
upstream {{ $host }} {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue