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
probe?

Thanks

Ben
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to