Guest User

traefikconfig

a guest
Aug 18th, 2019
331
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. storage="/etc/traefik/acme/acme.json"
  26. entryPoint = "https"
  27. acmeLogging=true
  28. onDemand = false
  29. [acme.httpChallenge]
  30. entryPoint = "http"
  31. [[acme.domains]]
  32. main = "mydomain.tld"
  33. [[acme.domains]]
  34. main = "subdomain1.mydomain.tld"
  35. [[acme.domains]]
  36. main = "subdomain2.mydomain.tld"
  37. [[acme.domains]]
  38. main = "subdomain3.mydomain.tld"
  39.  
  40. [docker]
  41. endpoint = "tcp://dockerproxy_traefik:2375"
  42. domain = "mydomain.tld"
  43. watch = true
  44. exposedByDefault = false
Advertisement
Add Comment
Please, Sign In to add comment