Minor
This commit is contained in:
parent
c0cfab2c14
commit
bbac3c93aa
1 changed files with 17 additions and 20 deletions
|
@ -269,9 +269,6 @@ server {
|
||||||
{{ $paths := groupBy $containers "Env.VIRTUAL_PATH" }}
|
{{ $paths := groupBy $containers "Env.VIRTUAL_PATH" }}
|
||||||
{{ $nPaths := len $paths }}
|
{{ $nPaths := len $paths }}
|
||||||
|
|
||||||
{{ $paths := groupBy $containers "Env.VIRTUAL_PATH" }}
|
|
||||||
{{ $nPaths := len $paths }}
|
|
||||||
|
|
||||||
{{ if eq $nPaths 0 }}
|
{{ if eq $nPaths 0 }}
|
||||||
# {{ $host }}
|
# {{ $host }}
|
||||||
{{ template "upstream" (dict "Upstream" $upstream_name "Containers" $containers "Networks" $CurrentContainer.Networks "Debug" $debug_all) }}
|
{{ template "upstream" (dict "Upstream" $upstream_name "Containers" $containers "Networks" $CurrentContainer.Networks "Debug" $debug_all) }}
|
||||||
|
|
Loading…
Reference in a new issue