Configuration file error
Krishna Kumar (Engineering)
krishna.ku at flipkart.com
Fri May 8 10:43:05 CEST 2015
Hi,
I am testing varnish as a backend to haproxy. varnish has 2 backend's
for cache misses. But starting varnish with this configuration gives this
error (on Debian Wheezy):
directors are now in directors VMOD.
('input' Line 13 Pos 1)
director cache_director round-robin {
########-----------------------------
The configuration file is:
vcl 4.0;
backend server1 {
.host = "<ip1 here>";
.port = "80";
}
backend server2 {
.host = "<ip2 here>";
.port = "80";
}
director cache_director round-robin {
{ .backend = server1; }
{ .backend = server2; }
}
sub vcl_recv {
set req.backend = cache_director;
}
sub vcl_backend_response {
}
sub vcl_deliver {
}
Could someone help on what is required?
Thanks,
- Krishna Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20150508/5e5a9f7b/attachment.html>
More information about the varnish-misc
mailing list