Add traefik configuration under version control
This commit is contained in:
parent
7c9c9f0f22
commit
40e2908af4
3 changed files with 124 additions and 4 deletions
41
docker/traefik/traefik.toml
Normal file
41
docker/traefik/traefik.toml
Normal file
|
@ -0,0 +1,41 @@
|
|||
[experimental]
|
||||
http3 = true
|
||||
|
||||
[api]
|
||||
dashboard = true
|
||||
|
||||
[entryPoints.http]
|
||||
address = ":80"
|
||||
|
||||
[entryPoints.https]
|
||||
address = ":443"
|
||||
|
||||
[entryPoints.https.http3]
|
||||
|
||||
[entryPoints.https.http.tls]
|
||||
options = "default"
|
||||
certResolver = "letsEncrypt"
|
||||
|
||||
[[entryPoints.https.http.tls.domains]]
|
||||
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 = "{{env 'ADMIN_EMAIL'}}"
|
||||
storage = "acme.json"
|
||||
|
||||
[certificatesResolvers.letsEncrypt.acme.dnsChallenge]
|
||||
provider = "cloudflare"
|
||||
|
||||
[accessLog]
|
||||
filePath = "/var/log/access.log"
|
||||
|
||||
[accessLog.filters]
|
||||
statusCodes = ["400-499"]
|
Loading…
Add table
Add a link
Reference in a new issue