From 73223d6efc5c8a8c41e9937be9d41465c0423303 Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Fri, 7 Aug 2026 20:23:15 +0200 Subject: [PATCH] ensure we check web health endpoint --- roles/traefik/templates/dynamic-hosts.yml.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/traefik/templates/dynamic-hosts.yml.j2 b/roles/traefik/templates/dynamic-hosts.yml.j2 index 9157930..4cb6735 100644 --- a/roles/traefik/templates/dynamic-hosts.yml.j2 +++ b/roles/traefik/templates/dynamic-hosts.yml.j2 @@ -17,4 +17,8 @@ http: {% for web_ip in env_vars.WEB_IPS | from_json %} - url: "http://{{ web_ip }}:80" {% endfor %} + healthCheck: + path: /health + interval: "10s" + timeout: "3s"