I have benn running Apache2 frontends as reverse proxy configurations for years now.
What I was not able to change is the behaviour after a backend server goes down for a short time (i.e. restart)
Apache will continue to deliver the proxy error page for a long time, before it re-checks if the backend has come back. I need to manually restart each time and I can understand the users are annyoed.
How can I tell apache to not remember the "broken" proxy backend, but retry each time?
If that is not possible, how can I configure the time apache "caches the error" to be very short, lets say 10 seconds.
I am talking about very simple standard reverse proxy configurations more or less like this:
ProxyPass /site http://10.1.1.8/backend
ProxyPassReverse /site http://10.1.1.8/backend