From aea1736f7024a39a7268bcf7d0adb26591f0d26b Mon Sep 17 00:00:00 2001 From: pemontto <939704+pemontto@users.noreply.github.com> Date: Sun, 26 Sep 2021 10:33:18 +0100 Subject: [PATCH] outposts/proxy: Fix failing traefik healtcheck (#1470) --- authentik/providers/proxy/controllers/docker.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/authentik/providers/proxy/controllers/docker.py b/authentik/providers/proxy/controllers/docker.py index 646ca13cf..298f0ac0f 100644 --- a/authentik/providers/proxy/controllers/docker.py +++ b/authentik/providers/proxy/controllers/docker.py @@ -29,6 +29,11 @@ class ProxyDockerController(DockerController): labels[f"traefik.http.routers.{traefik_name}-router.rule"] = f"Host({','.join(hosts)})" labels[f"traefik.http.routers.{traefik_name}-router.tls"] = "true" labels[f"traefik.http.routers.{traefik_name}-router.service"] = f"{traefik_name}-service" - labels[f"traefik.http.services.{traefik_name}-service.loadbalancer.healthcheck.path"] = "/" + labels[ + f"traefik.http.services.{traefik_name}-service.loadbalancer.healthcheck.path" + ] = "/akprox/ping" + labels[ + f"traefik.http.services.{traefik_name}-service.loadbalancer.healthcheck.port" + ] = "9300" labels[f"traefik.http.services.{traefik_name}-service.loadbalancer.server.port"] = "9000" return labels