adding proxy config to caddy

This commit is contained in:
Jean-François GUILLAUME 2024-11-26 13:32:28 +01:00
parent 1c2f6cbb48
commit a6a88c616a
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"