X-Forwarded-For header not received by Java application in OpenShift Container Platform
Issue
- How to use
X-Forwarded-Forheader in an application running on OpenShift? - All headers are logged in the application except for
X-Forwarded-Forwhich is missing. Why are they removed by the OpenShift Ingress?
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 3
- 4
- OpenShift Ingress
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.