My use case is as follows: In the config I have one frontend that listens on HTTPS and serves to a backend The backend has one or more servers. When all of the backend servers are down, I want to serve a sorry page, hosted in another place to give some info of the outage.
My first attempt was to put the sorry server in the same backend as the regular servers, but with a check backup
option. This failed since the host header for the health checks cannot be different per server.
I assume that I need to add a separate backend section for the sorry server, so that I can configure the correct health checks and all, but how do I configure the frontend to switch over to the sorry backend if the regular backend is down?
HA-Proxy version 1.9.16-1ppa1~bionic