obs-portal/deployment/config/traefik.toml

31 lines
722 B
TOML
Raw Permalink Normal View History

# https://doc.traefik.io/traefik/v2.4/routing/entrypoints/
[entryPoints]
[entryPoints.web]
address = ":80"
[entryPoints.web.http]
[entryPoints.web.http.redirections]
[entryPoints.web.http.redirections.entryPoint]
to = "websecure"
scheme = "https"
[entryPoints.websecure]
address = ":443"
# Enable API
[api]
dashboard = false
# Enable docker backend
[providers.docker]
network = "gateway"
# https://doc.traefik.io/traefik/v2.4/https/acme/#configuration-examples
[certificatesResolvers.leresolver.acme]
email = "info@example.com"
storage = "acme/acme.json"
[certificatesResolvers.leresolver.acme.httpChallenge]
# used during the challenge
entryPoint = "web"