From a0a954bd5583ffe095b1366d5b3ada41bb83c8ff Mon Sep 17 00:00:00 2001 From: dmuser Date: Mon, 14 Jul 2025 23:03:45 -0700 Subject: [PATCH] Trying to configure Traefic. Have 404 error --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index ef1b056..ed543dd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,6 +19,10 @@ services: - "traefik.http.routers.traefik.entrypoints=websecure" - "traefik.http.routers.traefik.middlewares=auth" - "traefik.http.middlewares.auth.basicauth.users=admin:$$2y$$10$$yourhashedpassword" + - "traefik.http.routers.traefik-dashboard.rule=Host(`traefik.fancydictionary.com`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))" + - "traefik.http.routers.traefik-dashboard.service=api@internal" + - "traefik.http.routers.traefik-dashboard.entrypoints=websecure" + - "traefik.http.routers.traefik-dashboard.middlewares=auth" dictionary-app: build: