dynamic varnish vhost

Rachid Zarouali rzarouali at gmail.com
Tue Mar 21 11:09:06 CET 2017


Hi here,

We are trying to make varnish loads dynamically vcls contained in a
directory.
the idea behind is:
- drop a new vcl in the directory
- varnish will reload it's configuration

something like:
for URL: http://test.myserver.local:6081 varnish will load vcl from
/home/myserver/test/default.vcl
for URL: http://test2.myserver.local:6081
<http://test.myserver.local:6081/> varnish
will load vcl from /home/myserver/test2/default.vcl

any idea on how to achieve that maybe ?

Thanks a lot !

Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20170321/713dede0/attachment.html>


More information about the varnish-misc mailing list