Merge 1030f773f9 into 2f898566fc
This commit is contained in:
commit
ce014025ce
@ -259,7 +259,10 @@ server {
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
{{ range $host, $containers := groupByMulti $ "Env.VIRTUAL_HOST" "," }}
|
||||
{{/* Get the VIRTUAL_HOST_VARNAME for filtering */}}
|
||||
{{ $virtual_host_varname := (or ($.Env.VIRTUAL_HOST_VARNAME) "VIRTUAL_HOST") }}
|
||||
|
||||
{{ range $host, $containers := groupByMulti $ (print "Env." $virtual_host_varname) "," }}
|
||||
|
||||
{{ $host := trim $host }}
|
||||
{{ $is_regexp := hasPrefix "~" $host }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user