forked from TrueCloudLab/certificates
Merge pull request #540 from smallstep/proxy-always
Always specify a Proxy in all custom transports.
This commit is contained in:
commit
7688ca18ac
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ func newInsecureClient() *uaClient {
|
||||||
return &uaClient{
|
return &uaClient{
|
||||||
Client: &http.Client{
|
Client: &http.Client{
|
||||||
Transport: &http.Transport{
|
Transport: &http.Transport{
|
||||||
|
Proxy: http.ProxyFromEnvironment,
|
||||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
|
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue