diff --git a/proxmox/api/client.go b/proxmox/api/client.go index 11227b5d..f4e83bcf 100644 --- a/proxmox/api/client.go +++ b/proxmox/api/client.go @@ -74,6 +74,7 @@ func NewConnection(endpoint string, insecure bool) (*Connection, error) { } var transport http.RoundTripper = &http.Transport{ + Proxy: http.ProxyFromEnvironment, TLSClientConfig: &tls.Config{ MinVersion: tls.VersionTLS13, InsecureSkipVerify: insecure, //nolint:gosec