From c5de666c86ab913adb77337c44edf9fa75358ca8 Mon Sep 17 00:00:00 2001 From: Teck Meng Date: Fri, 6 Sep 2024 15:38:53 +0800 Subject: [PATCH] refactor: Update traefik-public-local HTTPS router rule in local_core.yml --- swarm/local_core.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swarm/local_core.yml b/swarm/local_core.yml index e7ce6e6..d489bfd 100644 --- a/swarm/local_core.yml +++ b/swarm/local_core.yml @@ -84,7 +84,7 @@ services: - traefik.http.routers.traefik-public-https.service=api@internal # Local service router - traefik.http.routers.traefik-public-local-https.entrypoints=https - - traefik.http.routers.traefik-public-local-https.rule=HostRegexp(`dashboard.${LOCALDOMAIN}`) + - traefik.http.routers.traefik-public-local-https.rule=Host(`dashboard.${LOCALDOMAIN}`) - traefik.http.routers.traefik-public-local-https.tls=true # Enable HTTP Basic auth, using the middleware created above - traefik.http.routers.traefik-public-local-https.middlewares=admin-auth