Trying to use X-Backend to select backend

Tollef Fog Heen tfheen at redpill-linpro.com
Fri Oct 30 10:02:54 CET 2009


]] Bernardf FRIT 

| I downgraded varnish to v 2.0.3 in order to use the
| varnish-bereq-hosts.patch

Which patch is this?

|   1. Store the backend name into X-Backend custom header
|   2. Force each request with  a X-Backend header to be directed to the
|      stored backend name

There is currently no way to look up backends by name, so you would have
to write this as a series of if statements.

-- 
Tollef Fog Heen 
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73



More information about the varnish-misc mailing list