req.backend is the default backend you have selected. If you want your request to go to a specific backend just set req.backend = be1;
You can reference each individual backend by name. So be1.healthy, or be2.healthy. Raul -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Marco Felettigh Sent: Wednesday, June 12, 2013 6:49 AM To: [email protected] Subject: Questiona about req.backend.healthy Hi , i'am new about Varnish and i need help understanding req.backend.healthy . req.backend.healthy is a state for all the backends or i can check the healthy of a single backend ? How can i grace only the content from a single backend ? site1 -> be1 site2 -> be2 example: backend be1 { .host = "x.x.x.x"; .port = "80"; .probe = { .url = "/index.php"; .interval = 5s; .timeout = 1 s; .window = 5; .threshold = 3; } } backend be2 { .host = "y.y.y.y"; .port = "80"; .probe = { .url = "/index.php"; .interval = 5s; .timeout = 1 s; .window = 5; .threshold = 3; } } thanks Marco _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
