Skip to content

Commit

Permalink
Add support for HTTP_PROXY and HTTPS_PROXY to ACME solver client
Browse files Browse the repository at this point in the history
  • Loading branch information
hslatman authored and fritterhoff committed Jan 4, 2024
1 parent 36a8dd1 commit a34803f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions acme/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a34803f

Please sign in to comment.