HAProxy community

MAX_Conn with redirect

I’m looking for a way to configure my web servers with MAX_CONN parameter and eventually, when all the webservers on the pool will get fully allocated with MAX_CONN, the next request will be redirected to a specific URL until a webserver will be available to receive a new connection request.

It is possible to achieve such kind of configuration?

Thanks id advanced


there are a few sample fetches available that you could use: