providers/proxy: fix traefik label

closes #2128

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-01-24 17:45:09 +01:00
parent 3ed23a37ea
commit c7ba183dc0
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class ProxyDockerController(DockerController):
labels["traefik.enable"] = "true" labels["traefik.enable"] = "true"
labels[ labels[
f"traefik.http.routers.{traefik_name}-router.rule" f"traefik.http.routers.{traefik_name}-router.rule"
] = f"Host({','.join(hosts)}) && PathPrefix('/akprox')" ] = f"Host({','.join(hosts)}) && PathPrefix(`/akprox`)"
labels[f"traefik.http.routers.{traefik_name}-router.tls"] = "true" 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.routers.{traefik_name}-router.service"] = f"{traefik_name}-service"
labels[ labels[