X-Forwarded-For Header not received by Java application in OpenShift Container Platform

Solution Verified - Updated -


  • We want to use X-Forwarded-For header in an application running on OpenShift. We see that all headers are logged in the application except for X-Forwarded-For which is missing. This is why we are wondering on whether haproxy does remove X-Forwarded headers?


  • Red Hat OpenShift Container Platform 3.x and 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content