From f7d390e4d4cbcb53ea21e405a9cabeb35a759c35 Mon Sep 17 00:00:00 2001 From: Sigurd Aaknes Date: Sat, 11 Jul 2026 15:23:11 +0200 Subject: [PATCH] fix: oidcHTTPClient now use proxy from environment --- services/proxy/pkg/command/server.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/proxy/pkg/command/server.go b/services/proxy/pkg/command/server.go index 3c0406671e..59a232e0e3 100644 --- a/services/proxy/pkg/command/server.go +++ b/services/proxy/pkg/command/server.go @@ -104,6 +104,7 @@ func Server(cfg *config.Config) *cobra.Command { InsecureSkipVerify: cfg.OIDC.Insecure, //nolint:gosec }, DisableKeepAlives: true, + Proxy: http.ProxyFromEnvironment, }, Timeout: time.Second * 10, } @@ -279,6 +280,7 @@ func loadMiddlewares(logger log.Logger, cfg *config.Config, InsecureSkipVerify: cfg.OIDC.Insecure, //nolint:gosec }, DisableKeepAlives: true, + Proxy: http.ProxyFromEnvironment, }, Timeout: time.Second * 10, }