From e5d81977f6ac6733abfa9ae8e711a1cb70d8e7c9 Mon Sep 17 00:00:00 2001 From: Matias Date: Mon, 6 Jan 2025 13:28:36 -0300 Subject: [PATCH] added proxy config that is overwritten by not using the default transport (#426) Co-authored-by: Thomas Budde --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index ad3c56e7..e29d66b5 100644 --- a/main.go +++ b/main.go @@ -60,6 +60,7 @@ func init() { // We set the http client's Transport to do InsecureSkipVerify to avoid error in case the certificate // was signed by unknown authority, trusting the user to set up his profile with the correct .well-know URL. http.DefaultClient.Transport = &http.Transport{ + Proxy: http.ProxyFromEnvironment, TLSClientConfig: &tls.Config{ InsecureSkipVerify: config.SSLInsecureSkipVerify, },