Hello,
I have mounted a haproxy (version 2.4.3-1) and the haproxyctl command.
I want that when the backend server 1 puts it in maintenance mode (using the haproxyctl command) it redirects you to the second server which is the backup (a php page).
When I put it in maintenance mode the backup server keeps marking it as DOWN.
is there any way to redirect to that server 2 backup in case server 1 leaves it in maintenance mode?
You should be able to do that with the backup server. The only limitation i remember is before haproxy use the backup server, all other have to be down or maintenance.
If you configure one server as backup, you should be able to see it status though the logs. If it stay down, you will find some hints about it in the logs too.