2017-08-11 10:04:58 +00:00
|
|
|
################################################################
|
|
|
|
# Global configuration
|
|
|
|
################################################################
|
|
|
|
traefikLogsFile = "traefik.log"
|
|
|
|
accessLogsFile = "access.log"
|
|
|
|
logLevel = "ERROR"
|
|
|
|
defaultEntryPoints = ["http"]
|
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.http]
|
|
|
|
address = ":8000"
|
2018-01-11 08:46:03 +00:00
|
|
|
[entryPoints.api]
|
|
|
|
address = ":7888"
|
2017-08-11 10:04:58 +00:00
|
|
|
|
2017-10-02 08:32:02 +00:00
|
|
|
checkNewVersion = false
|
|
|
|
|
2017-08-11 10:04:58 +00:00
|
|
|
################################################################
|
2018-01-11 08:46:03 +00:00
|
|
|
# Api configuration backend
|
2017-08-11 10:04:58 +00:00
|
|
|
################################################################
|
2018-01-11 08:46:03 +00:00
|
|
|
[api]
|
|
|
|
entryPoint = "api"
|
2017-08-11 10:04:58 +00:00
|
|
|
|
|
|
|
################################################################
|
|
|
|
# File configuration backend
|
|
|
|
################################################################
|
|
|
|
[file]
|
|
|
|
|
|
|
|
################################################################
|
|
|
|
# rules
|
|
|
|
################################################################
|
2018-04-11 14:30:04 +00:00
|
|
|
[backends]
|
|
|
|
[backends.backend1]
|
|
|
|
[backends.backend1.servers.server1]
|
|
|
|
url = "http://127.0.0.1:8081"
|
|
|
|
weight = 1
|
|
|
|
|
|
|
|
[frontends]
|
|
|
|
[frontends.frontend1]
|
|
|
|
backend = "backend1"
|
|
|
|
[frontends.frontend1.routes.test_1]
|
|
|
|
rule = "Path: /test1"
|