Merge pull request #540 from smallstep/proxy-always

Always specify a Proxy in all custom transports.
This commit is contained in:
Mariano Cano 2021-04-14 21:05:32 -07:00 committed by GitHub
commit 7688ca18ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,6 +57,7 @@ func newInsecureClient() *uaClient {
return &uaClient{
Client: &http.Client{
Transport: &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
},
},