HaProxy retry if server respond with 502
Budget: $30 – $250 USD
Hello.
I have HaProxy installed on my Linux Debian 10 server.
I want to from haproxy to retry on a different server if the server responds with a 502 error code.
I tried this configuration https://gyazo.com/683132987a20fb12a79bcbf041fc2a5d
But it did not work. The first server returned the 502 status code, but haproxy return that response to me when connecting to it.
I want from haproxy to try the second server if the first server responds with 502
I have HaProxy installed on my Linux Debian 10 server.
I want to from haproxy to retry on a different server if the server responds with a 502 error code.
I tried this configuration https://gyazo.com/683132987a20fb12a79bcbf041fc2a5d
But it did not work. The first server returned the 502 status code, but haproxy return that response to me when connecting to it.
I want from haproxy to try the second server if the first server responds with 502