Merge pull request #2305 from andreibe24/feature/support-proxy-envs

fix: support proxy
This commit is contained in:
Ben McClelland
2026-09-01 19:36:32 -07:00
committed by GitHub
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -231,6 +231,7 @@ func (s *IAMServiceS3) getConfig() (aws.Config, error) {
tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: s.sslSkipVerify},
Proxy: http.ProxyFromEnvironment,
}
client := &http.Client{Transport: tr}
+1
View File
@@ -59,6 +59,7 @@ func (s *S3Proxy) getConfig(ctx context.Context, access, secret string) (aws.Con
tr := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: s.sslSkipVerify},
Proxy: http.ProxyFromEnvironment,
}
client := &http.Client{Transport: tr}