traefik/integration/fixtures/simple_auth.toml

28 lines
502 B
TOML
Raw Normal View History

[global]
2019-07-01 09:30:05 +00:00
checkNewVersion = false
sendAnonymousUsage = false
[log]
2019-07-01 09:30:05 +00:00
level = "DEBUG"
[entryPoints]
[entryPoints.web]
2019-07-01 09:30:05 +00:00
address = ":8000"
[entryPoints.traefik]
2019-07-01 09:30:05 +00:00
address = ":8001"
[api]
2019-07-01 09:30:05 +00:00
middlewares = ["authentication@file"]
[ping]
[providers.file]
filename = "{{ .SelfFilename }}"
## dynamic configuration ##
2018-11-14 09:18:03 +00:00
[http.middlewares]
2019-07-01 09:30:05 +00:00
[http.middlewares.authentication.basicAuth]
users = ["test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/", "test2:$apr1$d9hr9HBB$4HxwgUir3HP4EsggP/QNo0"]