wildcard DNS challenge
This commit is contained in:
@@ -84,15 +84,15 @@ services:
|
|||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
|
||||||
# Dashboard router
|
# Dashboard router
|
||||||
- "traefik.http.routers.dashboard.rule=Host(`traefik.apps.dua.casa`)"
|
- "traefik.http.routers.traefik.rule=HostRegexp(`{subdomain:.+}.app.abc.com`)"
|
||||||
- "traefik.http.routers.dashboard.entrypoints=websecure"
|
- "traefik.http.routers.traefik.entrypoints=websecure"
|
||||||
- "traefik.http.routers.dashboard.service=api@internal"
|
- "traefik.http.routers.traefik.service=api@internal"
|
||||||
- "traefik.http.routers.dashboard.tls=true"
|
- "traefik.http.routers.traefik.tls=true"
|
||||||
- "traefik.http.routers.dashboard.tls.certresolver=letsencrypt"
|
- "traefik.http.routers.traefik.tls.certresolver=letsencrypt"
|
||||||
|
|
||||||
# Basic‑auth middleware
|
# Basic‑auth middleware
|
||||||
- "traefik.http.middlewares.dashboard-auth.basicauth.users=${TRAEFIK_BASIC_AUTH}"
|
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH}"
|
||||||
- "traefik.http.routers.dashboard.middlewares=dashboard-auth@swarm"
|
- "traefik.http.routers.traefik.middlewares=traefik-auth@swarm"
|
||||||
|
|
||||||
# Service hint
|
# Service hint
|
||||||
- "traefik.http.services.traefik.loadbalancer.server.port=8080"
|
- "traefik.http.services.traefik.loadbalancer.server.port=8080"
|
||||||
|
|||||||
Reference in New Issue
Block a user