You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
375 B
HTML
19 lines
375 B
HTML
defaults
|
|
mode http
|
|
timeout client 10s
|
|
timeout connect 5s
|
|
timeout server 10s
|
|
timeout http-request 10s
|
|
|
|
frontend frontend
|
|
bind :8080
|
|
default_backend nodes
|
|
|
|
backend nodes
|
|
balance roundrobin
|
|
option httpchk GET /get_info
|
|
{% for node in nodes -%}
|
|
server backend-{{ node.id }} {{ node.get_netloc() }} check inter 10s fall 5 rise 5
|
|
{% endfor %}
|
|
|