Habilitar autenticación básica en dashboard: middleware auth-basic@file + documentación

This commit is contained in:
2025-12-01 11:46:42 +01:00
parent 4d754b244b
commit afb95f4375
4 changed files with 46 additions and 20 deletions

View File

@@ -24,9 +24,8 @@ services:
- "traefik.http.routers.traefik.tls=true"
- "traefik.http.routers.traefik.tls.certresolver=letsencrypt"
- "traefik.http.routers.traefik.service=api@internal"
# Opcional: Autenticación básica
# - "traefik.http.routers.traefik.middlewares=traefik-auth"
# - "traefik.http.middlewares.traefik-auth.basicauth.users=admin:$$apr1$$..."
# Autenticación básica (usa middleware del archivo dynamic/middlewares.yml)
- "traefik.http.routers.traefik.middlewares=auth-basic@file"
networks:
proxy: