diff --git a/templates/compose/traefik.yml.j2 b/templates/compose/traefik.yml.j2 index 4a9ea6b..728e273 100644 --- a/templates/compose/traefik.yml.j2 +++ b/templates/compose/traefik.yml.j2 @@ -36,7 +36,7 @@ services: traefik.http.routers.dashboard.rule: Host(`{{ traefik_domain }}`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`)) {% if traefik_ipwhitelist is defined %} traefik.http.middlewares.clientips.ipwhitelist.sourcerange: {{ traefik_ipwhitelist }} - traefik.http.routers.traefik.middlewares: "clientips@docker" + traefik.http.routers.traefik.middlewares: "clientips@docker" {% endif %} traefik.http.middlewares.auth.basicauth.users: "ludal:$$apr1$$N3vklVTY$$zrq2kwkaVdynGlakyb4J7." traefik.http.middlewares.auth.basicauth.realm: {{ traefik_domain }} - restricted access