traefik.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. global:
  2. checkNewVersion: true
  3. sendAnonymousUsage: false # true by default
  4. # (Optional) Log information
  5. # ---
  6. # log:
  7. # level: ERROR # DEBUG, INFO, WARNING, ERROR, CRITICAL
  8. # format: common # common, json, logfmt
  9. # filePath: /var/log/traefik/traefik.log
  10. # (Optional) Accesslog
  11. # ---
  12. # accesslog:
  13. # format: common # common, json, logfmt
  14. # filePath: /var/log/traefik/access.log
  15. # (Optional) Enable API and Dashboard
  16. # ---
  17. # api:
  18. # dashboard: true # true by default
  19. # insecure: true # Don't do this in production!
  20. # Entry Points configuration
  21. # ---
  22. entryPoints:
  23. web:
  24. address: :80
  25. # (Optional) Redirect to HTTPS
  26. # ---
  27. # http:
  28. # redirections:
  29. # entryPoint:
  30. # to: websecure
  31. # scheme: https
  32. websecure:
  33. address: :443
  34. # Certificates configuration
  35. # ---
  36. # TODO: Custmoize your Cert Resolvers and Domain settings
  37. #
  38. certificatesResolvers:
  39. # LET'S ENCRYPT:
  40. # ---
  41. #
  42. staging:
  43. acme:
  44. email: your-email@example.com # TODO: Change this to your email
  45. storage: /ssl-certs/acme.json
  46. caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
  47. httpChallenge:
  48. entryPoint: web
  49. production:
  50. acme:
  51. email: your-email@example.com # TODO: Change this to your email
  52. storage: /ssl-certs/acme.json
  53. caServer: "https://acme-v02.api.letsencrypt.org/directory"
  54. httpChallenge:
  55. entryPoint: web
  56. # Provider Configuration
  57. # ---
  58. # TODO: Customize your Provider Settings if needed
  59. #
  60. providers:
  61. # DOCKER:
  62. # ---
  63. #
  64. docker:
  65. exposedByDefault: false # Default is true