Avoid breaking change for *.example.com
This commit is contained in:
parent
89bff71c0e
commit
37299fca0b
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ server {
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ range $host, $containers := groupByMulti $ "Env.VIRTUAL_HOST" "," }}
|
{{ range $host, $containers := groupByMulti $ "Env.VIRTUAL_HOST" "," }}
|
||||||
{{ $upstream := queryEscape $host }}
|
{{ $upstream := replace (queryEscape $host) "%2A" "*" -1 }}
|
||||||
|
|
||||||
upstream {{ $upstream }} {
|
upstream {{ $upstream }} {
|
||||||
{{ range $container := $containers }}
|
{{ range $container := $containers }}
|
||||||
|
|
Loading…
Reference in a new issue