Browse Source

improve configuration

master
parent
commit
a2f2fb672b
  1. 18
      traefik/traefik.toml

18
traefik/traefik.toml

@ -8,15 +8,19 @@ accessLogsFile = "@l_prefix@/var/traefik/log/traefik.access.log"
logLevel = "ERROR"
ProvidersThrottleDuration = "2s"
MaxIdleConnsPerHost = 200
defaultEntryPoints = ["http", "https"]
defaultEntryPoints = [ "http", "https" ]
[api]
entryPoint = "traefik"
dashboard = true
[entryPoints]
[entryPoints.http]
address = ":80"
address = "127.0.0.1:80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
address = "127.0.0.1:443"
[entryPoints.https.tls]
[[entryPoints.https.tls.certificates]]
CertFile = "@l_prefix@/etc/x509/example-server.crt.pem"
@ -60,3 +64,11 @@ defaultEntryPoints = ["http", "https"]
# 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

Loading…
Cancel
Save