Protect Traefik dashboard with Authelia

Protect Traefik dashboard with Authelia
This commit is contained in:
2026-04-17 13:11:43 +02:00
parent 718305cb98
commit 85a8d0c2f2
5 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ services:
- traefik.http.routers.traefik.tls=true
- traefik.http.routers.traefik.tls.certresolver=le
- traefik.http.routers.traefik.service=api@internal
- traefik.http.routers.traefik.middlewares=dashboard-auth@file,secure-headers@file
- traefik.http.routers.traefik.middlewares=authelia@file,secure-headers@file
dns:
- 1.1.1.1
-4
View File
@@ -1,10 +1,6 @@
# traefik/dynamic/middlewares.yml
http:
middlewares:
dashboard-auth:
basicAuth:
users:
- "admin:$apr1$g4oZDj2C$EKV1bTs/BPcj4PrgVTl.J."
secure-headers:
headers:
sslRedirect: true