From 84641689155a9e20a02a3f82f0e96effc7b03fcb Mon Sep 17 00:00:00 2001 From: Emmanuel Durin Date: Fri, 1 Mar 2024 09:56:55 +0100 Subject: [PATCH] Revert "Preserve host header and pass x-forwarded headers (#104)" --- gateway/src/main/resources/application.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gateway/src/main/resources/application.yml b/gateway/src/main/resources/application.yml index f5eb9110..ead19e59 100644 --- a/gateway/src/main/resources/application.yml +++ b/gateway/src/main/resources/application.yml @@ -32,12 +32,6 @@ spring: - org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration cloud: gateway: - x-forwarded: - for-enabled: false - host-enabled: false - port-enabled: false - proto-enabled: false - prefix-enabled: false enabled: true global-filter.websocket-routing.enabled: true metrics.enabled: true @@ -58,7 +52,6 @@ spring: - RemoveSecurityHeaders # AddSecHeaders appends sec-* headers to proxied requests based on the currently authenticated user - AddSecHeaders - - PreserveHostHeader global-filter: websocket-routing: enabled: true