##
##  traefik.toml -- Traefik Server Configuration
##

graceTimeOut              = 10
traefikLogsFile           = "@l_prefix@/var/traefik/log/traefik.log"
accessLogsFile            = "@l_prefix@/var/traefik/log/traefik.access.log"
logLevel                  = "ERROR"
ProvidersThrottleDuration = "2s"
MaxIdleConnsPerHost       = 200
defaultEntryPoints        = [ "http", "https" ]

[api]
entryPoint                = "traefik"
dashboard                 = true

[entryPoints]
    [entryPoints.http]
    address = "127.0.0.1:80"
        [entryPoints.http.redirect]
        entryPoint = "https"
    [entryPoints.https]
    address = "127.0.0.1:443"
        [entryPoints.https.tls]
            [[entryPoints.https.tls.certificates]]
            CertFile = "@l_prefix@/etc/x509/example-server.crt.pem"
            KeyFile  = "@l_prefix@/etc/x509/example-server.key.pem"

# [acme]
# email       = "example@example.com"
# storageFile = "@l_prefix@/var/traefik/run/traefik.acme.json"
# entryPoint  = "https"
# onDemand    = true
# caServer    = "https://acme-v01.api.letsencrypt.org/directory"
#     [[acme.domains]]
#     main = "example.com"
#     sans = ["www1.example.com", "www2.example.com"]
#     [[acme.domains]]
#     main = "example.org"

# [file]
# filename               = "traefik-rules.toml"
# watch                  = true

# [consul]
# endpoint               = "127.0.0.1:8500"
# watch                  = true
# prefix                 = "/traefik"
# filename               = "consul.tmpl"
#     [consul.tls]
#     ca                 = "@l_prefix@/etc/x509/example-ca.crt.pem"
#     cert               = "@l_prefix@/etc/x509/example-server.crt.pem"
#     key                = "@l_prefix@/etc/x509/example-server.key.pem"
#     insecureskipverify = true

# [etcd]
# endpoint               = "127.0.0.1:4001"
# watch                  = true
# prefix                 = "/traefik"
# filename               = "etcd.tmpl"
#     [etcd.tls]
#     ca                 = "@l_prefix@/etc/x509/example-ca.crt.pem"
#     cert               = "@l_prefix@/etc/x509/example-server.crt.pem"
#     key                = "@l_prefix@/etc/x509/example-server.key.pem"
#     insecureskipverify = true

# [docker]
# endpoint               = "unix:///var/run/docker.sock"
# domain                 = "example.com"
# watch                  = true
# exposedbydefault       = false
# usebindportip          = true
# swarmMode              = false

