21 lines
423 B
Plaintext
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"
|