Hi list,

I'm having issues using apache trafficserver as mid-tier cache / in forward 
mode.
The request flow is as following "client" -> "trafficserver-reverse" -> 
"trafficserver-forward" -> "origin".

I would like to always keep the original client host header. On the reverse 
proxy this works fine by setting "proxy.config.url_remap.pristine_host_hdr" to 
1. The forward proxy also receives the correct host header from the reverse 
proxy. But as soon as the forward proxy requests the origin server, it set's 
the host header to the "origin" name. In practice this looks like this:

"client" -> "trafficserver-reverse" -> "trafficserver-forward" -> "origin"
Host: example.org -> Host: example.org -> Host: origin.example.org

If it matters: The forward proxy acts only as forward proxy and has reverse 
proxying disabled.

Is there a way to ensure the host header is not touched trafficserver in 
forward mode?

Thanks in advance,
Matthias

Reply via email to