refactor: Update traefik-public-local HTTPS router rule in local_core.yml

This commit is contained in:
2024-09-06 15:38:53 +08:00
parent c14f197bc2
commit c5de666c86
+1 -1
View File
@@ -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