
oddur at ccpgames
Aug 2, 2012, 4:55 AM
Post #3 of 5
(490 views)
Permalink
|
|
RE: Trying multiple backends for a resource
[In reply to]
|
|
Seems like the fallback director is what I want, if I can get it to try to continue trying on 404. I could possibly map 404 to 503(temp unavailable) https://www.varnish-cache.org/docs/trunk/reference/vcl.html#the-fallback-director From: rzuidhof [at] gmail [mailto:rzuidhof [at] gmail] On Behalf Of Richard Zuidhof Sent: Wednesday, August 01, 2012 7:26 PM To: Oddur Snær Magnússon Subject: Re: Trying multiple backends for a resource No problem at all. Op 1 aug. 2012 21:06 schreef "Oddur Snær Magnússon" <oddur [at] ccpgames<mailto:oddur [at] ccpgames>> het volgende: I´ve got multiple backends which each might have the file I´m requesting. Would it be possible to configure varnish in such a way that is tries multiple backends and uses the first one it finds with a 200 response ? Best regards, Oddur Snær Magnússon Senior Programmer | Reykjavík | Iceland [Description: Description: Description: Description: cid:DB5C0F43-387B-4CF8-BC6F-B17512BB8251 [at] ccp] :wq _______________________________________________ varnish-misc mailing list varnish-misc [at] varnish-cache<mailto:varnish-misc [at] varnish-cache> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
|