From a2f2fb672bc3651a2b97f51f0ec1f47163607cd5 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Wed, 15 Aug 2018 13:07:07 +0200 Subject: [PATCH] improve configuration --- traefik/traefik.toml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/traefik/traefik.toml b/traefik/traefik.toml index 57cd83a87f..49b6accb51 100644 --- a/traefik/traefik.toml +++ b/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 +