GitFOSS
.yml
YAML
(text/x-yaml)
global:
  checkNewVersion: true
  sendAnonymousUsage: false

log:
  filePath: /var/log/traefik/traefik.log
  # common, json, logfmt
  format: common
  # DEBUG, INFO, WARNING, ERROR, CRITICAL
  level: DEBUG

accessLog:
  filePath: /var/log/traefik/access.log
  # common, json, logfmt
  format: common

api:
  insecure: true
  dashboard: true
  debug: true

providers:
  file:
    directory: /var/lib/traefik
  docker:
    endpoint: "unix:///var/run/docker.sock"
    exposedByDefault: false
    network: root_reverse-proxy-public
    watch: false

entryPoints:
  web:
    address: :80
  websecure:
    address: :443

certificatesResolvers:
  letsencrypt:
    acme:
      # staging server, comment when testing done
      # caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
      email: contact@ethicdevs.com
      httpChallenge:
        entryPoint: web
      storage: /var/lib/traefik/acme/acme.json