traefik: remove basic auth, use Cloudflare Access
This commit is contained in:
@@ -14,7 +14,6 @@ services:
|
|||||||
- ./config/traefik.yaml:/traefik.yaml:ro
|
- ./config/traefik.yaml:/traefik.yaml:ro
|
||||||
- ./config/dynamic:/dynamic:ro
|
- ./config/dynamic:/dynamic:ro
|
||||||
- ./data/acme.json:/acme.json
|
- ./data/acme.json:/acme.json
|
||||||
- ./data/traefik-users:/auth/traefik-users:ro
|
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
labels:
|
labels:
|
||||||
@@ -24,7 +23,7 @@ services:
|
|||||||
- "traefik.http.routers.traefik-dashboard.tls=true"
|
- "traefik.http.routers.traefik-dashboard.tls=true"
|
||||||
- "traefik.http.routers.traefik-dashboard.tls.certresolver=cloudflare"
|
- "traefik.http.routers.traefik-dashboard.tls.certresolver=cloudflare"
|
||||||
- "traefik.http.routers.traefik-dashboard.service=api@internal"
|
- "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:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
|||||||
Reference in New Issue
Block a user