Add support for `HTTP_PROXY` and `HTTPS_PROXY` to ACME solver client

pull/1661/head
Herman Slatman 4 months ago
parent b75773e193
commit c59d293d26
No known key found for this signature in database
GPG Key ID: F4D8A44EA0A75A4F

@ -55,6 +55,7 @@ func NewClient() Client {
http: &http.Client{
Timeout: 30 * time.Second,
Transport: &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{
//nolint:gosec // used on tls-alpn-01 challenge
InsecureSkipVerify: true, // lgtm[go/disabled-certificate-check]

Loading…
Cancel
Save