Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. defaultEntryPoints = ["http", "https"]
  2.  
  3. [web]
  4. # Port for the status page
  5. address = ":8080"
  6.  
  7. # Entrypoints, http and https
  8. [entryPoints]
  9. # http should be redirected to https
  10. [entryPoints.http]
  11. address = ":80"
  12. [entryPoints.http.redirect]
  13. entryPoint = "https"
  14. # https is the default
  15. [entryPoints.https]
  16. address = ":443"
  17. compress = true
  18. #[entryPoints.https.redirect]
  19. #regex = "^http://(.*)"
  20. #replacement = "https://$1"
  21. #permanent = true
  22. [entryPoints.https.tls]
  23. [web.statistics]
  24. recentErrors = 100
  25.  
  26. # Enable ACME (Let's Encrypt): automatic SSL
  27. [acme]
  28. caServer = "https://acme-v02.api.letsencrypt.org/directory"
  29. # Email address used for registration
  30. email = "itdept@naturalswiss.ch"
  31. storage = "/etc/traefik/acme/acme.json"
  32. entryPoint = "https"
  33. onDemand = false
  34. OnHostRule = true
  35. # Use a HTTP-01 acme challenge rather than TLS-SNI-01 challenge
  36. [acme.httpChallenge]
  37. entryPoint = "http"
  38. [[acme.domains]]
  39. main = "*.naturalswiss.hu"
  40. sans = ["naturalswiss.hu","www.naturalswiss.hu"]
  41. [[acme.domains]]
  42. main = "*.naturalswiss.co.uk"
  43. sans = ["naturalswiss.co.uk","www.naturalswiss.co.uk"]
  44. [[acme.domains]]
  45. main = "*.naturalswiss.cz"
  46. sans = ["naturalswiss.cz","www.naturalswiss.cz"]
  47. [[acme.domains]]
  48. main = "*.naturalswiss.de"
  49. sans = ["naturalswiss.de","www.naturalswiss.de"]
  50. [[acme.domains]]
  51. main = "*.naturalswiss.it"
  52. sans = ["naturalswiss.it","www.naturalswiss.it"]
  53. [[acme.domains]]
  54. main = "*.naturalswiss.pl"
  55. sans = ["naturalswiss.pl","www.naturalswiss.pl"]
  56. [[acme.domains]]
  57. main = "*.naturalswiss.ro"
  58. sans = ["naturalswiss.ro","wwww.naturalswiss.ro"]
  59. [[acme.domains]]
  60. main = "www.naturalswiss.se"
  61. sans = ["naturalswiss.se","www.naturalswiss.se"]
  62. [[acme.domains]]
  63. main = "*.naturalswiss.sk"
  64. sans = ["naturalswiss.sk","www.naturalswiss.sk"]
  65. [[acme.domains]]
  66. main = "*.naturalswiss.fr"
  67. sans = ["naturalswiss.fr","www.naturalswiss.fr"]
  68. # Enable Docker configuration backend
  69. [docker]
  70. endpoint = "unix:///var/run/docker.sock"
  71. domain = "www.naturalswiss.hu"
  72. watch = true
  73. exposedByDefault = true
  74. swarmMode = true
  75. network = "infrastructure_traefik_web"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement