Multi sites to one Apache

list, mailing list at
Mon Oct 22 16:17:08 CEST 2012

I'm trying to setup varnish on a multi domains to go to one apache server
then let apache handle everything after caching.

When I search online People breakout the backend's by domain name.

I do see to add:
sub vcl_hash {
    set req.hash += req.url;
    if (req.http.Accept-Encoding) {
        set req.hash += req.http.Accept-Encoding;
    #set req.hash += req.http.cookie;
    return (hash);

for hashing per site.
is that all I need to do and leave backend default to re to server and no


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list