On Sat, Oct 15, 2016 at 11:03 AM, Frederik Ramm <frede...@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.

> Question 2:

The hash used to identify an unique object is computed in vcl_hash,
and by default, includes req.http.host (the HTTP Host: header sent by
the client). You don't have to modify something since it's not the
Host header sent to the backend that is being hashed, but the one sent
from the client to varnish.

Hope this helps,

Thomas Lecomte

varnish-misc mailing list

Reply via email to