traefik/integration/fixtures/simple_auth.toml
2019-09-06 15:08:04 +02:00

28 lines
520 B
TOML

[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
level = "DEBUG"
[entryPoints]
[entryPoints.web]
address = ":8000"
[entryPoints.traefik]
address = ":8001"
[api]
insecure = true
middlewares = ["authentication@file"]
[ping]
[providers.file]
filename = "{{ .SelfFilename }}"
## dynamic configuration ##
[http.middlewares]
[http.middlewares.authentication.basicAuth]
users = ["test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/", "test2:$apr1$d9hr9HBB$4HxwgUir3HP4EsggP/QNo0"]