1
0

traefik specific labels and files

This commit is contained in:
Andrew Camilleri
2018-09-13 13:35:20 +02:00
parent 16cd65c37f
commit 34e263d12b
6 changed files with 57 additions and 6 deletions

35
Production/traefilk.toml Normal file
View File

@@ -0,0 +1,35 @@
defaultEntryPoints = ["https","http"]
logLevel="ERROR"
[entryPoints]
useXForwardedFor = true
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[retry]
[docker]
endpoint = "unix:///var/run/docker.sock"
watch = true
exposedByDefault = false
[acme]
storage = "acme.json"
entryPoint = "https"
onHostRule = true
[acme.httpChallenge]
entryPoint = "http"
[traefikLog]
filePath = "/traefik_logs/traefik.log"
format = "json"
[accessLog]
filePath = "/traefik_logs/access.log"
format = "json"