diff --git a/agent/proxyconfig/proxy_windows.go b/agent/proxyconfig/proxy_windows.go index 216ce1d9d..e68ffad64 100644 --- a/agent/proxyconfig/proxy_windows.go +++ b/agent/proxyconfig/proxy_windows.go @@ -315,9 +315,10 @@ func ParseProxySettings(log log.T, proxy string) ProxySettings { HttpsProxy: https, } - // If no [=] is provided http is the default option + // If no [=] is provided all schemes are handled if https == nil && http == nil { result.HttpProxy = other + result.HttpsProxy = other } else if https != nil && http == nil { result.HttpProxy = other } else if https == nil && http != nil {