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
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to