mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2025-05-02 06:05:26 +02:00
Avoid breaking change for *.example.com
This commit is contained in:
parent
89bff71c0e
commit
37299fca0b
@ -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 New Issue
Block a user