fix: set default forward headers strategy to framework

fixes Swagger not loading properly behind a reverse proxy
This commit is contained in:
Gauthier Roebroeck 2020-04-18 13:59:40 +08:00
parent c2d846025b
commit b24fbe3a1e

View file

@ -41,7 +41,10 @@ spring:
prefix: classpath:/public/
mvc:
throw-exception-if-no-handler-found: true
server.servlet.session.timeout: 7d
server:
servlet.session.timeout: 7d
forward-headers-strategy: framework
management:
endpoints.web.exposure.include: "*"