spring-cloud/spring-cloud-gateway

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

Open

#3,240 opened on Jan 25, 2024

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

Repository metrics

Stars
 (4,284 stars)
PR merge metrics
 (Avg merge 2d 2h) (15 merged PRs in 30d)

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