| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- global:
- checkNewVersion: true
- sendAnonymousUsage: false # true by default
- # (Optional) Log information
- # ---
- # log:
- # level: ERROR # DEBUG, INFO, WARNING, ERROR, CRITICAL
- # format: common # common, json, logfmt
- # filePath: /var/log/traefik/traefik.log
- # (Optional) Accesslog
- # ---
- # accesslog:
- # format: common # common, json, logfmt
- # filePath: /var/log/traefik/access.log
- # (Optional) Enable API and Dashboard
- # ---
- # api:
- # dashboard: true # true by default
- # insecure: true # Don't do this in production!
- # Entry Points configuration
- # ---
- entryPoints:
- web:
- address: :80
- # (Optional) Redirect to HTTPS
- # ---
- # http:
- # redirections:
- # entryPoint:
- # to: websecure
- # scheme: https
- websecure:
- address: :443
- # Certificates configuration
- # ---
- # TODO: Custmoize your Cert Resolvers and Domain settings
- #
- certificatesResolvers:
- # LET'S ENCRYPT:
- # ---
- #
- staging:
- acme:
- email: your-email@example.com # TODO: Change this to your email
- storage: /ssl-certs/acme.json
- caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
- httpChallenge:
- entryPoint: web
- production:
- acme:
- email: your-email@example.com # TODO: Change this to your email
- storage: /ssl-certs/acme.json
- caServer: "https://acme-v02.api.letsencrypt.org/directory"
- httpChallenge:
- entryPoint: web
- # Provider Configuration
- # ---
- # TODO: Customize your Provider Settings if needed
- #
- providers:
- # DOCKER:
- # ---
- #
- docker:
- exposedByDefault: false # Default is true
|