File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,10 @@ haproxy_frontend:
209
209
haproxy_backend:
210
210
- dashboard_backend:
211
211
balance: source
212
+ default_server: "inter 2s downinter 5s rise 3 fall 2 slowstart 30s maxconn 30 maxqueue 64 weight 100"
213
+ http_checks:
214
+ - 'send meth GET uri /check-haproxy.php hdr Host haproxy.check-vhost.de'
215
+ - 'expect string "All services running fine"'
212
216
bind_process:
213
217
- 1
214
218
server_templates:
Original file line number Diff line number Diff line change 7
7
backend {{ name }}
8
8
{% if value .mode is defined %}
9
9
mode {{ value.mode }}
10
+ {% endif %}
11
+ {% if value .default_server is defined %}
12
+ default-server {{ value.default_server }}
10
13
{% endif %}
11
14
{% if value .description is defined %}
12
15
description {{ value.description }}
@@ -17,9 +20,10 @@ backend {{ name }}
17
20
{% if value .hash_type is defined %}
18
21
hash-type {{ value.hash_type }}
19
22
{% endif %}
20
- {% if value .http_check is defined %}
21
- http-check {{ value.http_check }}
22
- {% endif %}
23
+ {% if value .http_checks is defined %}
24
+ {% for http_check in value .http_checks %}
25
+ http-check {{ http_check }}
26
+ {% endfor %}
23
27
{% if value .cookie is defined %}
24
28
cookie {{ value.cookie }}
25
29
{% endif %}
You can’t perform that action at this time.
0 commit comments