adding proxy config to caddy

This commit is contained in:
Jean-François GUILLAUME 2024-11-26 12:37:01 +01:00
parent 36157df3eb
commit f3ea663f60
GPG key ID: 38751DAE145EFB5A

View file

@ -57,11 +57,11 @@
"HOME=/var/lib/caddy"
#$@(if proxy
(list
string-append "http_proxy=" #$proxy
string-append "https_proxy=" #$proxy)
string-append "http_proxy=" proxy
string-append "https_proxy=" proxy)
'())
#$@(if noproxy
(list string-append "no_proxy=" #$noproxy)
(list string-append "no_proxy=" noproxy)
'())
)
#:user "caddy"