Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4714

Configure haproxy to disable server on first returned 503

$
0
0

Hello,

I want to configure my backend in a way, that any server returning a 503 (or general 5xx) error should be taken offline until it passes the health check again. This should happen immediately when the server returns this code the first time and not only when the health check runs.

Reason behind this is that I have servers that return 503 during restart / maintenance. Due to the fact that this 503 is served within <1ms haproxy directs dozens of calls to this server until the health check fails.

Is this possible?

Best regards
Jens

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4714

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>