Multi sites to one Apache
list, mailing
list at sprymed.com
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
probe?
Thanks
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20121022/f6f33ec9/attachment.html>
More information about the varnish-misc
mailing list