File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 9
9
{{ $http_proxy_protocol := when $http_proxy_protocol_enabled "proxy_protocol" "" }}
10
10
{{ $https_proxy_protocol := when $https_proxy_protocol_enabled "proxy_protocol" "" }}
11
11
{{ $all_real_ip_from := coalesce $.Env.REAL_IP_FROM "" }}
12
+ {{ $debug_all := $.Env.DEBUG }}
12
13
13
14
{{ define "upstream" }}
14
15
{{ if .Address }}
@@ -194,7 +195,7 @@ server {
194
195
upstream {{ $upstream_name }} {
195
196
196
197
{{ range $container := $containers }}
197
- {{ $debug := (eq (coalesce $container.Env.DEBUG "false") "true") }}
198
+ {{ $debug := (eq (coalesce $container.Env.DEBUG $debug_all "false") "true") }}
198
199
{{/* If only 1 port exposed, use that as a default, else 80 */}}
199
200
{{ $defaultPort := (when (eq (len $container.Addresses) 1) (first $container.Addresses) (dict "Port" "80")).Port }}
200
201
{{ range $knownNetwork := $CurrentContainer.Networks }}
You can’t perform that action at this time.
0 commit comments