Custom behavior for the situation when the service has no healthy instances

Hello everyone, please forgive me right away if my question is stupid or the answer has already been written before (I can’t find it, but I was looking for it). Is it possible in consul (or fabio) to set a route to which the request will be redirected if there are no available services?

I mean the situation when services are registered for a certain path, but they have the status “unhealthy”. In such a situation, I would like to redirect requests to a static page with information like “technical work is in progress, try again later”.

Is there a way to do this with consul+fabio ?

Here is solution Custom behavior for the situation when the service has no healthy instances · Issue #898 · fabiolb/fabio · GitHub