Different host headers - same cache?

Guillaume Quintard guillaume at varnish-software.com
Sun Oct 16 09:33:28 CEST 2016


On Oct 16, 2016 01:15, "Thomas Lecomte" <thomas.lecomte at virtual-expo.com>
wrote:
>
> Hello,
>
> On Sat, Oct 15, 2016 at 11:03 AM, Frederik Ramm <frederik at remote.org>
wrote:
> > Question 1:
>
> You will need to rewrite bereq.http.host in the vcl_backend_fetch
> routine depending on the backend to which you are sending the request.

I think it's easier than that: just remove the host header and let varnish
add the right one, as this (old) ticket seems to indicate:
http://varnish-cache.org/trac/ticket/230 .

I was assuming the same thing as Frederik: that host_header was a hard
override. I think a docfix is in order (ie. I'll do it)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20161016/d96cc672/attachment.html>


More information about the varnish-misc mailing list