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:
parent
5bad6ae02d
commit
a45c69cdc6
@ -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',
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user