wildcard DNS challenge

This commit is contained in:
2026-02-01 14:49:34 +08:00
parent 3365d8a440
commit af75bf908f

View File

@@ -84,15 +84,15 @@ services:
- "traefik.enable=true"
# Dashboard router
- "traefik.http.routers.dashboard.rule=Host(`traefik.apps.dua.casa`)"
- "traefik.http.routers.dashboard.entrypoints=websecure"
- "traefik.http.routers.dashboard.service=api@internal"
- "traefik.http.routers.dashboard.tls=true"
- "traefik.http.routers.dashboard.tls.certresolver=letsencrypt"
- "traefik.http.routers.traefik.rule=HostRegexp(`{subdomain:.+}.app.abc.com`)"
- "traefik.http.routers.traefik.entrypoints=websecure"
- "traefik.http.routers.traefik.service=api@internal"
- "traefik.http.routers.traefik.tls=true"
- "traefik.http.routers.traefik.tls.certresolver=letsencrypt"
# Basicauth middleware
- "traefik.http.middlewares.dashboard-auth.basicauth.users=${TRAEFIK_BASIC_AUTH}"
- "traefik.http.routers.dashboard.middlewares=dashboard-auth@swarm"
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH}"
- "traefik.http.routers.traefik.middlewares=traefik-auth@swarm"
# Service hint
- "traefik.http.services.traefik.loadbalancer.server.port=8080"