I'm struggling with a scenario that I've searched and read so much but couldn't find anything to solve it. I have 3 servers, 2 actives and one as a standby(backup). every time one of active servers go down, the standby server will be active and traffic load balance between 2 server (not just standby server). I am able to solve this problem with two backends, BUT I need just one backend.
#### Fronend Configuration #####
frontend webserver
bind 192.168.64.100:80
default_backend appserver
#### Backend Configuration #####
backend appserver
balance roundrobin
server Node-1 192.168.64.132:80 check
server Node-2 192.168.64.133:80 check
server Node-3 192.168.64.134:80 check
I want Node-3 be the standby server. if Node-1 or Node-2 isn't accessible, Node-3 take the place