traefik.toml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # Uncomment this line in order to enable debugging through logs
  2. # debug = true
  3. defaultEntryPoints = ["http", "https"]
  4. [entryPoints]
  5. [entryPoints.http]
  6. address = ":80"
  7. [entryPoints.http.redirect]
  8. entryPoint = "https"
  9. [entryPoints.https]
  10. address = ":443"
  11. [entryPoints.https.tls]
  12. MinVersion = "VersionTLS12"
  13. CurvePreferences = [
  14. "CurveP521",
  15. "CurveP384",
  16. "CurveP256"
  17. ]
  18. PreferServerCipherSuites = true
  19. CipherSuites = [
  20. "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
  21. "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305",
  22. "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
  23. "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
  24. "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA",
  25. "TLS_RSA_WITH_AES_256_GCM_SHA384",
  26. "TLS_RSA_WITH_AES_256_CBC_SHA"
  27. ]
  28. FrameDeny = false # here we don't want to deny frames since we have an embed
  29. STSIncludeSubdomains = true
  30. STSSeconds = 315360000
  31. STSPreload = true
  32. ContentTypeNosniff = true
  33. BrowserXssFilter = true
  34. # Enable ACME (Let's Encrypt): automatic SSL.
  35. [acme]
  36. # Email address used for registration.
  37. #
  38. # Required
  39. #
  40. email = "<MY EMAIL ADDRESS>"
  41. # File or key used for certificates storage.
  42. #
  43. # Required
  44. #
  45. storage = "/etc/acme.json"
  46. # or `storage = "traefik/acme/account"` if using KV store.
  47. # Entrypoint to proxy acme apply certificates to.
  48. # WARNING, if the TLS-SNI-01 challenge is used, it must point to an entrypoint on port 443
  49. #
  50. # Required
  51. #
  52. entryPoint = "https"
  53. # Domains list.
  54. #
  55. [[acme.domains]]
  56. main = "<MY DOMAIN>"
  57. # Use a HTTP-01 acme challenge rather than TLS-SNI-01 challenge
  58. #
  59. # Optional but recommend
  60. #
  61. [acme.httpChallenge]
  62. # EntryPoint to use for the challenges.
  63. #
  64. # Required
  65. #
  66. entryPoint = "http"