haproxy httpchk is HTTP only

I remove the “httpchk” options since it cannot be used if mode=tcp.
haproxy will still print a big fat warning saying, mode=tcp with
stats enabled is not possible. But it will starts.
This commit is contained in:
Gonéri Le Bouder 2014-01-19 20:41:19 +01:00
parent 5bad6ae02d
commit a45c69cdc6

View File

@ -271,7 +271,7 @@ monitor fail if horizon_dead
options => {
'mode' => 'tcp',
'balance' => 'roundrobin',
'option' => ['tcpka', 'tcplog', 'httpchk'], #httpchk mandatory expect 200 on port 9000
'option' => ['tcpka', 'tcplog'],
'timeout client' => '400s',
'timeout server' => '400s',
}