global:
  checkNewVersion: true
  sendAnonymousUsage: false
api:
  dashboard: true
  insecure: false
  debug: true
log:
  level: "INFO" #DEBUG, WARNING, ERROR, CRITICAL
  format: common #json, logfmt
  filePath: "/etc/traefik/trfk.log"
accessLog:
  addInternals: true
  format: common #json, logfmt
  filePath: "/etc/traefik/trfk-acc.log"
providers:
  docker:
    exposedByDefault: false
  file:
    filename: /etc/traefik/dyn-conf.yml
    watch: true
entrypoints:
  web:
    address: ":80"
    http:
      redirections:
        entrypoint:
          to: websecure
          scheme: https
  websecure:
    address: ":443"
    #http:
      #encodeQuerySemicolons: true # foo=bar;baz=bar >> foo=bar%3Bbaz=bar
  webadmin:
    address: ":8888"
certificatesResolvers:
  letsEncrypt:
    acme:
      email: paits.ru@gmail.com
      storage: /etc/traefik/acme.json
      caServer: https://acme-v02.api.letsencrypt.org/directory
      # prod (default) has a rate limit. So, for testing and intial setup, i have used the below staging cert.
      # caServer: https://acme-staging-v02.api.letsencrypt.org/directory
      httpChallenge: #tlsChallenge: {}
        entryPoint: web
experimental:
  plugins:
    statiq:
      moduleName: "github.com/hhftechnology/statiq"
      version: "v1.0.1"
      # REQUIRED: Enable unsafe operations for this plugin
      #settings:
        #useunsafe: true
