2 ms·
I think HAProxy can make sure the response code for HTTP backends is actually 200 and will mark the connection down if it gets 500 or 400. Just goes to show yo
by dkarapetyan 12y ago
I think HAProxy can make sure the response code for HTTP backends is actually 200 and will mark the connection down if it gets 500 or 400.
Just goes to show you that thinking only of the happy path can often lead you astray.
- memnips 12y agoHAProxy absolutely can support an HTTP response code health check, but in my experience out of the box it just makes sure the port (say 80) is open. I learned this once the hard way and will never make that mistake again... ;)