Skip to content
Snippets Groups Projects
Select Git revision
  • dea183efa52069fdc9c5954e749a97e980d7e4e1
  • master default protected
  • traefik-3
3 results

traefik.toml

Blame
  • David Beniamine's avatar
    David Beniamine authored
    dea183ef
    History
    traefik.toml 1022 B
    [global]
      checkNewVersion = true
      sendAnonymousUsage = false
    
    [serversTransport]
      insecureSkipVerify = true
    
    [accessLog]
      filePath = "/var/log/access.log"
      bufferingSize = 20
      [accessLog.fields]
        [accessLog.fields.names]
            StartUTC= "drop"
    
    [traefikLog]
      filePath = "/var/log/traefik.log"
    
      [accessLog.filters]
        statusCodes = ["400-599"]
    
    [api]
        dashboard = true
    
    [entryPoints]
      [entryPoints.websecure]
        address = ":443"
      [entryPoints.websecure.http.tls]
        certResolver = "myresolver"
    
      [entryPoints.web]
        address = ":80"
        [entryPoints.web.http.redirections]
          [entryPoints.web.http.redirections.entryPoint]
            permanent = true
            to = "websecure"
    
    [certificatesResolvers.myresolver.acme]
      email = "changethat@exemple.org"
      storage = "acme.json"
      [certificatesResolvers.myresolver.acme.httpChallenge]
        # used during the challenge
        entryPoint = "web"
    
    [providers.docker]
      exposedByDefault = false
      network = "traefik"
    
    [providers.file]
      directory = "/config/"