How to modify the Policy type of the HAProxy Ingress Controller to handle the HTTP X-Forwarded headers on OpenShift Container Platform 4.6+?

Solution Verified - Updated -

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, and X-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.

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