Skip to content

Commit

Permalink
Revert "Preserve host header and pass x-forwarded headers (#104)"
Browse files Browse the repository at this point in the history
  • Loading branch information
emmdurin committed Mar 1, 2024
1 parent 95c775c commit 8464168
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions gateway/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8464168

Please sign in to comment.