1
0
Fork 0

Enable health checking for HAProxy backend servers

- Updated HAProxy configuration templates to include `check` for `srv_stats` and `srv_dashboard` backends.
- Adjusted expected test case outputs to account for the added health check settings.
This commit is contained in:
Joao Gilberto Magalhaes 2026-02-22 20:03:12 -05:00
parent 7e3134155a
commit 4dda1ed631
9 changed files with 15 additions and 15 deletions

View file

@ -90,7 +90,7 @@ frontend stats
backend srv_stats
mode http
server Local 127.0.0.1:{{ data_stats["port"] | default(1936) }}
server Local 127.0.0.1:{{ data_stats["port"] | default(1936) }} check
frontend dashboard
bind *:{{ (data_stats["port"] | default(1936) | int) + 10000 }}
@ -104,7 +104,7 @@ frontend dashboard
backend srv_dashboard
mode http
server Local 127.0.0.1:{{ dashboard_server_port }}
server Local 127.0.0.1:{{ dashboard_server_port }} check
{% endif %}
{% for o in data["easymapping"] -%}
{% set mode = o["mode"] or "http" %}