Hi,
I am trying to figure out how to use multiple http-check
in my backend. I can’t figure out the proper syntax. Any help is appreciated.
backend avax-mainnet
option httpchk
stick-table type ip size 1m expire 1h
stick on src
balance leastconn
http-check send meth POST uri /ext/info hdr Content-Type application/json body "{"jsonrpc":"2.0","method":"info.isBootstrapped","params":[{"chain": "C"}],"i>
http-check expect rstring "isBootstrapped":true
http-check send meth POST uri /ext/info hdr Content-Type application/json body "{"jsonrpc":"2.0","method":"info.isBootstrapped","params":[{"chain": "q2aTwKuy>
http-check expect rstring "isBootstrapped":true
http-check send meth POST uri /ext/info hdr Content-Type application/json body "{"jsonrpc":"2.0","method":"info.isBootstrapped","params":[{"chain": "2K33xS9A>
http-check expect rstring "isBootstrapped":true
default-server inter 5s fall 3 rise 2 on-marked-down shutdown-sessions
server mun2np001 10.0.2.10:9650 check