We're using stunnel and HAProxy for our load balancing needs.

In nginx you can enable a maintenance state, based on the existance of a file on a child server (see Configure nginx to serve a 503 if a file exists).

Is it possible to put a server node into 'maintenance mode' based on the existance of a file, when using HAProxy?

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

Yes you can.

If the health check file is missing. Check the disable-on-404 option.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.