Do not fail if no .proxy (if we pass .env and not . to the template)
This commit is contained in:
parent
f42a83d8ac
commit
115a251fa2
|
@ -22,7 +22,7 @@
|
|||
[[- end ]]
|
||||
[[- end ]]
|
||||
[[- end ]]
|
||||
[[- if .proxy.enabled ]]
|
||||
[[- if and (has . "proxy") .proxy.enabled ]]
|
||||
[[- if not (has $env "HTTP_PROXY") ]]
|
||||
HTTP_PROXY=[[ .proxy.address ]]
|
||||
[[- end ]]
|
||||
|
|
Loading…
Reference in New Issue