OpenShift Router overwrites X-Forwarded-For header from load balancer or proxy
Issue
The default template and image of OpenShift Router uses "set header" for HTTP and not "add header" causing the earlier X-Forwarded-For Header set by an upstream server to be lost, hence losing the real client user IP.
Environment
- Red Hat OpenShift Container Platform
- 3.0 - 3.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
