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" "HOME=/var/lib/caddy"
#$@(if proxy #$@(if proxy
(list (list
string-append "http_proxy=" #$proxy string-append "http_proxy=" proxy
string-append "https_proxy=" #$proxy) string-append "https_proxy=" proxy)
'()) '())
#$@(if noproxy #$@(if noproxy
(list string-append "no_proxy=" #$noproxy) (list string-append "no_proxy=" noproxy)
'()) '())
) )
#:user "caddy" #:user "caddy"