Skip to content

Commit

Permalink
Merge pull request #176 from zekker6/fix/http-env-proxy-support
Browse files Browse the repository at this point in the history
fix passing proxy config
  • Loading branch information
AlexAkulov authored Apr 4, 2021
2 parents 35c6f85 + cedb590 commit 86e4384
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/storage/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func (s *S3) Connect() error {
if s.Config.DisableCertVerification {
tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
Proxy: http.ProxyFromEnvironment,
}
awsConfig.HTTPClient = &http.Client{Transport: tr}
}
Expand Down

0 comments on commit 86e4384

Please sign in to comment.