Skip to content

Commit

Permalink
preserve host header + set forward-headers-strategy FRAMEWORK
Browse files Browse the repository at this point in the history
  • Loading branch information
edevosc2c authored Mar 13, 2024
1 parent 638e3c8 commit d8c5b76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gateway/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ server:
ssl:
enabled: false
#TODO: configure SSL with a self-signed certificate
forward-headers-strategy: FRAMEWORK

spring:
config:
Expand Down Expand Up @@ -52,6 +53,7 @@ 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 d8c5b76

Please sign in to comment.