diff --git a/nginx.tmpl b/nginx.tmpl index 3a0f7ed..6ac0dd6 100644 --- a/nginx.tmpl +++ b/nginx.tmpl @@ -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 }}