Hello, I want to configure varnish with two different backends. But with my configuration varnish can't handle with both.
sub vcl_recv {
if (req.url ~"^/partner/")
{
set req.backend = directory1;
set req.http.host = "partnerservicesq00.xxx.de";
}
if (req.url ~"^/schaden/")
{
set req.backend = directory2;
set req.http.host = "servicesq00.xxx.de";
}
else
{
set req.backend = default;
}
}
When I take only the first server and comment the second out it works. But
I want to have both.
Kind regards
Stefan Welschhoff
LVM_Unternehmenssignatur.pdf
Description: Adobe PDF document
_______________________________________________ varnish-misc mailing list [email protected] http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
