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 }}
|
||||
|
||||
{{ range $host, $containers := groupByMulti $ "Env.VIRTUAL_HOST" "," }}
|
||||
{{ $upstream := queryEscape $host }}
|
||||
{{ $upstream := replace (queryEscape $host) "%2A" "*" -1 }}
|
||||
|
||||
upstream {{ $upstream }} {
|
||||
{{ range $container := $containers }}
|
||||
|
|
Loading…
Reference in a new issue