From 5d3b13ad0e795351fd71cc12db757c964d139346 Mon Sep 17 00:00:00 2001 From: Florian Necas Date: Thu, 26 Feb 2026 11:53:35 +0100 Subject: [PATCH] feat: add trusted-proxies to gw (cherry picked from commit 3b06cf8411d2faeb50e5f0fd8a0594747e9670a0) --- gateway/application.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gateway/application.yaml b/gateway/application.yaml index 5e48dd3c..931ee6cc 100644 --- a/gateway/application.yaml +++ b/gateway/application.yaml @@ -15,6 +15,9 @@ server: spring: cloud: gateway: + # Trust all proxies (Use with caution!) + trusted-proxies: .* + # OR better: Trust a specific IP filter: secure-headers: referrer-policy: strict-origin