vHosts (name or ip based) with varnish

Frank Helmschrott fhelmschrott at gmail.com
Wed Jan 12 09:59:13 CET 2011


Hi,

via google i came to this post on varnish-software.com regarding vhost
solutions for varnish:
http://www.varnish-software.com/blog/virtual-hosts-varnish

I'd like to have a similar solution with an 'as small as possible'
master.vcl that does the if/elsif part. I'd like to have mostly
different configurations for each host.

Does anyone know where to place this if/elsif part? Varnish expects at
least acl, sub, backend or director in the vcl and i'm quite unsure
how to keep this vcl as simple/small as possible and load most of the
staff through the other vcls.

Thanks!

-- 
Frank




More information about the varnish-misc mailing list