I'm trying to setup varnish on a multi domains to go to one apache server then let apache handle everything after caching.
<div><br></div><div>When I search online People breakout the backend's by domain name.</div><div><br></div><div>I do see to add:</div><div><div>sub vcl_hash {</div><div><div> set req.hash += req.url;</div><div> if (req.http.Accept-Encoding) {</div>
<div> set req.hash += req.http.Accept-Encoding;</div><div> }</div><div> #set req.hash += req.http.cookie;</div><div> return (hash);</div></div><div>}</div></div><div><br></div><div>for hashing per site.</div>
<div>is that all I need to do and leave backend default to re to server and no probe?</div><div><br></div><div>Thanks</div><div><br></div><div>Ben</div>