Advertisement
Guest User

traefikconfig

a guest
Aug 18th, 2019
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. debug = true
  2.  
  3. logLevel = "DEBUG" #DEBUG, INFO, WARN, ERROR, FATAL, PANIC
  4. defaultEntryPoints = ["https"]
  5. InsecureSkipVerify = true
  6. sendAnonymousUsage = true
  7.  
  8.  
  9. # Force HTTPS
  10. [entryPoints]
  11. [entryPoints.http]
  12. address = ":80"
  13. [entryPoints.http.redirect]
  14. entryPoint = "https"
  15. [entryPoints.https]
  16. address = ":443"
  17. [entryPoints.https.tls]
  18.  
  19. [file]
  20. watch = true
  21. filename = "/etc/traefik/rules.toml"
  22.  
  23. # Let's encrypt configuration
  24. [acme]
  25. email = "me@mydomain.tld"
  26. storage="/etc/traefik/acme/acme.json"
  27. entryPoint = "https"
  28. acmeLogging=true
  29. onDemand = false
  30. [acme.httpChallenge]
  31. entryPoint = "http"
  32. [[acme.domains]]
  33. main = "mydomain.tld"
  34. [[acme.domains]]
  35. main = "subdomain1.mydomain.tld"
  36. [[acme.domains]]
  37. main = "subdomain2.mydomain.tld"
  38. [[acme.domains]]
  39. main = "subdomain3.mydomain.tld"
  40.  
  41. [docker]
  42. endpoint = "tcp://dockerproxy_traefik:2375"
  43. domain = "mydomain.tld"
  44. watch = true
  45. exposedByDefault = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement