This commit is contained in:
SilverFire - Dmitry Naumenko 2022-04-22 14:15:02 +03:00
parent c0cfab2c14
commit bbac3c93aa

View file

@ -269,9 +269,6 @@ server {
{{ $paths := groupBy $containers "Env.VIRTUAL_PATH" }}
{{ $nPaths := len $paths }}
{{ $paths := groupBy $containers "Env.VIRTUAL_PATH" }}
{{ $nPaths := len $paths }}
{{ if eq $nPaths 0 }}
# {{ $host }}
{{ template "upstream" (dict "Upstream" $upstream_name "Containers" $containers "Networks" $CurrentContainer.Networks "Debug" $debug_all) }}