Advertisement
RussellSeymour

Untitled

Dec 2nd, 2017
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. debug = false
  2.  
  3. logLevel = "DEBUG"
  4.  
  5. defaultEntryPoints = ["http", "https"]
  6.  
  7. traefikLogsFile = "/var/log/traefik.log"
  8. accessLogsFile = "/var/log/access.log"
  9.  
  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.  
  20. # Enable ACME (Let's Encrypt) automate SSL
  21. [acme]
  22. storage = "/etc/traefik/acme.json"
  23. dnsProvider = "route53"
  24. entryPoint = "https"
  25. onDemand = true
  26. OnHostRule = true
  27.  
  28. # Allow access to the Web UI
  29. [web]
  30. address = ":8080"
  31.  
  32. # Configure how docker will be run
  33. [docker]
  34.  
  35. endpoint = "unix://var/run/docker.sock"
  36.  
  37. domain = "traefik"
  38.  
  39. watch = true
  40.  
  41. exposedbydefault = false
  42.  
  43. swarmmode = true%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement