spring-cloud/spring-cloud-gateway

Spring gateway MVC - X-Foward-* header add if not present

Open

#3240 opened on Jan 25, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Java (4,284 stars) (3,204 forks)batch import
enhancementhelp wanted

Description

Is your feature request related to a problem? Please describe. I have a gateway in production behind a reverse, but in dev mode i d'ont have a proxy, i need to disabled for the production the header.

Describe the solution you'd like Add a mode to add the X-Forward-x header if not present instead of disabled or append mode

Contributor guide