We run into an issue with how ha-proxy is re-writing the x-forwarded-headers in OpenShift. We have an application that needs the original x-forwarded-host header passed in the request it seems that the ha-proxy router is overwriting the ‘X-Forwarded-Host” headers to match the requested host-header.
--- the generated config for my route---
http-request set-header X-Forwarded-Host %[req.hdr(host)]
http-request set-header X-Forwarded-Port %[dst_port]
Basically we want to keep the orginial ‘X-Forwarded-Host’, is there any way to configure this behavior?
Best Regards/Vänliga Hälsningar
Product Specialist Linux SITI
IT Delivery Production
IKEA IT AB
Phone: +46 (0)766 190 484