traefik: remove basic auth, use Cloudflare Access

This commit is contained in:
2026-03-19 16:00:31 +01:00
parent b201d3a13e
commit a3c9af174f

View File

@@ -14,7 +14,6 @@ services:
- ./config/traefik.yaml:/traefik.yaml:ro
- ./config/dynamic:/dynamic:ro
- ./data/acme.json:/acme.json
- ./data/traefik-users:/auth/traefik-users:ro
networks:
- proxy
labels:
@@ -24,7 +23,7 @@ services:
- "traefik.http.routers.traefik-dashboard.tls=true"
- "traefik.http.routers.traefik-dashboard.tls.certresolver=cloudflare"
- "traefik.http.routers.traefik-dashboard.service=api@internal"
- "traefik.http.routers.traefik-dashboard.middlewares=traefik-auth@file"
- "traefik.http.routers.traefik-dashboard.middlewares=secure-headers@file"
networks:
proxy: