Skip to content

Instantly share code, notes, and snippets.

@ratnose
Last active August 14, 2019 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ratnose/6a4b33052426d9b486298aa9ba2cb130 to your computer and use it in GitHub Desktop.
Save ratnose/6a4b33052426d9b486298aa9ba2cb130 to your computer and use it in GitHub Desktop.
traefik.toml
defaultEntryPoints = ["http", "https"]
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[entryPoints.dashboard]
address = ":8080"
[entryPoints.dashboard.auth]
[entryPoints.dashboard.auth.basic]
users = ["admin:$apr1$va2Qcey9$1M9Or1Cm.O/vETCYJPh8o0"]
[api]
entryPoint = "dashboard"
dashboard = true
address = ":8080"
[acme]
email = "cloudflare@mail.com"
storage = "traefik/acme.json"
entryPoint = "https"
onHostRule = true
[acme.dnsChallenge]
provider = "cloudflare"
delayBeforeCheck = 30
resolvers = ["1.1.1.1"]
[docker]
domain = "domain1.io"
watch = true
network = "web"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment