I've got a Mongrel2 server set up with a basic proxying arrangement: /static/
goes to some static resources, and everything else gets proxied to another server on the same machine. How can I set up Mongrel2 such that if the service that I'm proxying to falls over, instead of just 502 Bad Gateway
, it serves a static page?
I'm looking for something similar to this question about Cherokee. I'm having trouble finding the parallel stuff in Mongrel2's documentation - if it's there, I'd appreciate a link.