Files
homelab/traefik/dynamic.yml.example
2026-02-13 19:41:46 +02:00

21 lines
423 B
Plaintext

# Copy to dynamic.yml and add your htpasswd line.
# Generate: htpasswd -nb username password
http:
routers:
traefik-dashboard:
rule: "Host(`traefik.zea.lt`)"
entryPoints:
- websecure
service: api@internal
tls:
certResolver: leresolver
middlewares:
- auth
middlewares:
auth:
basicAuth:
users:
- "USERNAME:$apr1$HASH$YOUR_HASH_HERE"