Avoid breaking change for *.example.com

This commit is contained in:
Mike Dillon 2015-09-13 18:00:27 -07:00
parent 89bff71c0e
commit 37299fca0b

View file

@ -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 }}