Protect Traefik dashboard with Authelia
Protect Traefik dashboard with Authelia
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user