HaProxy Maintenance page configuration to put servers in maintenance mode
-
Hi, is there anyway to put servers into maintenance mode , so everyone can see a maintenance page when they'll try to access server?
I have been searching for it from like a very long time but no solution till now. -
-
@viragomann Hi, thanks for responding. I read that solution, but the problem is that solution is only applicable if one host is down, and i want to do this for planned maintenance, It means that if i use Haproxy Maintenance mode then it should show that maintenance page.
-
@ShahidAkhter
Such function is not implemented as far as I know.You can set up a backend providing the maintenance page and just switch the frontend to this and then back again.
-
@viragomann Was just thinking about recommending this as well. There is a default pool you could use