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: /logs/traefik.log # (Optional) Accesslog # --- accesslog: format: common # common, json, logfmt filePath: /logs/access.log # (Optional) Enable API and Dashboard # --- api: dashboard: true debug: true insecure: false #never set true in production! # Entry Points configuration # --- entryPoints: web: address: ":80" # (Optional) Redirect to HTTPS # --- http: redirections: entryPoint: to: websecure scheme: https websecure: address: ":443" # idrac: # address: ":5900/tcp" serversTransport: insecureSkipVerify: true providers: docker: endpoint: "unix:///var/run/docker.sock" exposedByDefault: false file: # filename: /configs/config.yml # add directory # --- directory: /configs watch: true # Configure your CertificateResolver here... certificatesResolvers: staging: acme: email: email@address storage: /certs/acme.json caServer: "https://acme-staging-v02.api.letsencrypt.org/directory" httpChallenge: entryPoint: web production: acme: email: email@address storage: /certs/acme.json # caServer: "https://acme-v02.api.letsencrypt.org/directory" httpChallenge: entryPoint: web