Skip to content

Spring Boot 2.2 migration guide not mentioning deprecated server.use-forward-headers #18667

@wimdeblauwe

Description

@wimdeblauwe

The Spring Boot 2.2 migration guide (https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.2-Release-Notes#deprecations-in-spring-boot-22) is not mentioning that server.use-forward-headers is now deprecated. (I noticed it because IntelliJ marked it in my application.properties file).

I found that it is related to #5677 and has been replaced with server.forward-headers-strategy which has options native, framework or none.

I mainly would like to know what I should use if I have the current setting at true. Should I use native or framework and what is the difference?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions