[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Annotations for ha-proxy x-forwarded-host



Hi!

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

Daniel Svensson

 

Product Specialist Linux SITI

Technical Infrastructure

IT Delivery Production

IKEA IT AB

Phone: +46 (0)766 190 484

 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]