add health checking to each node

pull/26/head
lza_menace 2 years ago
parent e98e553357
commit 615665a943

@ -13,6 +13,6 @@ backend nodes
balance roundrobin balance roundrobin
option httpchk GET /get_info option httpchk GET /get_info
{% for node in nodes -%} {% for node in nodes -%}
server backend-{{ node.id }} {{ node.get_netloc() }} server backend-{{ node.id }} {{ node.get_netloc() }} check inter 10s fall 5 rise 5
{% endfor %} {% endfor %}

Loading…
Cancel
Save