Refactor traefik.toml

This commit is contained in:
Marko Korhonen 2022-11-16 08:51:22 +02:00
parent 0b416fb537
commit aa461f98a4
No known key found for this signature in database
GPG Key ID: A7F78BCB859CD890

View File

@ -20,14 +20,8 @@ certResolver = "letsEncrypt"
main = "korhonen.cc"
sans = ["*.korhonen.cc"]
[providers.docker]
endpoint = "unix:///var/run/docker.sock"
exposedByDefault = false
[providers.file]
filename = "/dynamic.toml"
[certificatesResolvers.letsEncrypt.acme]
email = "admin@korhonen.cc"
storage = "acme.json"
[certificatesResolvers.letsEncrypt.acme.dnsChallenge]
@ -38,3 +32,10 @@ filePath = "/var/log/access.log"
[accessLog.filters]
statusCodes = ["400-499"]
[providers.docker]
endpoint = "unix:///var/run/docker.sock"
exposedByDefault = false
[providers.file]
filename = "/dynamic.toml"