How to modify the Policy type of the HAProxy Ingress Controller to handle the HTTP X-Forwarded headers on OpenShift Container Platform 4.6+?
Issue
- It is required to modify the HAProxy Ingress Controller policy type to control how to handle the X-Forwarded HTTP headers (
X-Forwarded-For,X-Forwarded-Host,X-Forwarded-Port, andX-Forwarded-Proto).
Environment
- OpenShift Container Platform 4.6+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.