mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
Add proxy server setting #74
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @phaidros7 on GitHub (Mar 3, 2016).
In certain environments a server cannot get HTTP[S] directly but only via a http_proxy. Would be nice to have a proxy seetting in /etc/letsencrypt.sh/config.sh for curl to use it :)
@lukas2511 commented on GitHub (Mar 5, 2016):
You should be able to just set normal proxy environment variables, curl should see and use them.
See
man curlunder "Environment".@phaidros7 commented on GitHub (Mar 7, 2016):
I agree, that's the way I did it, altho it'd have been nice to have it configurable in the config :_)
@lukas2511 commented on GitHub (Mar 9, 2016):
@phaidros7 you can configure it in config, just use
export HTTP_PROXY=...or whatever in config.sh, it should work