2022-04-13 09:29:55 -06:00
|
|
|
# traefik reverse proxy config
|
|
|
|
# docs: https://doc.traefik.io/traefik/
|
|
|
|
|
|
|
|
[api]
|
|
|
|
dashboard = true
|
|
|
|
|
|
|
|
[log]
|
|
|
|
level = "INFO"
|
|
|
|
|
|
|
|
[providers]
|
|
|
|
[providers.docker]
|
|
|
|
endpoint = "unix:///var/run/docker.sock"
|
|
|
|
exposedByDefault = false
|
|
|
|
|
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.web]
|
|
|
|
address = ":80"
|
|
|
|
[entryPoints.web.http]
|
|
|
|
[entryPoints.web.http.redirections]
|
|
|
|
[entryPoints.web.http.redirections.entryPoint]
|
|
|
|
to = "websecure"
|
|
|
|
[entryPoints.websecure]
|
|
|
|
address = ":443"
|
2022-04-13 10:59:57 -06:00
|
|
|
[entryPoints.dashboard]
|
|
|
|
address = ":8080"
|
2022-04-13 09:29:55 -06:00
|
|
|
|
|
|
|
[certificatesResolvers]
|
2022-04-13 10:18:13 -06:00
|
|
|
[certificatesResolvers.retropilot]
|
|
|
|
[certificatesResolvers.retropilot.acme]
|
2022-04-13 10:02:35 -06:00
|
|
|
caServer = "https://acme-v02.api.letsencrypt.org/directory"
|
2022-04-13 09:29:55 -06:00
|
|
|
email = "admin@retropilot.org"
|
|
|
|
storage = "acme.json"
|
2022-04-13 10:18:13 -06:00
|
|
|
[certificatesResolvers.retropilot.acme.httpChallenge]
|
2022-04-13 09:29:55 -06:00
|
|
|
entryPoint = "web"
|