Files
herolib/lib/installers/web/traefik/templates/traefik.toml
2025-02-09 12:24:12 +01:00

37 lines
634 B
TOML

[api]
dashboard = true
debug = false
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.https]
address = ":443"
# [providers]
# [providers.file]
# filename = "/etc/traefik/dynamic_conf.toml"
# watch = true
[log]
level = "WARN"
[accessLog]
[middlewares]
[middlewares.basicAuth]
[middlewares.basicAuth.basicAuth]
users = [
"${htaccesscode}"
]
realm = "Traefik Dashboard"
removeHeader = true
[http.routers]
[http.routers.api]
rule = "Host(`traefik.local`)"
service = "api^^internal"
entryPoints = ["https"]
middlewares = ["basicAuth"]