2018-02-16 10:04:04 +00:00
|
|
|
defaultEntryPoints = ["http"]
|
|
|
|
|
|
|
|
debug=true
|
|
|
|
|
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.http]
|
|
|
|
address = ":8000"
|
|
|
|
|
|
|
|
[api]
|
|
|
|
|
|
|
|
[docker]
|
|
|
|
endpoint = "unix:///var/run/docker.sock"
|
|
|
|
watch = true
|
2018-04-06 07:38:03 +00:00
|
|
|
exposedByDefault = false
|
2018-02-16 10:04:04 +00:00
|
|
|
|
|
|
|
[file]
|
|
|
|
[frontends]
|
|
|
|
[frontends.frontend-1]
|
|
|
|
backend = "backend-test"
|
|
|
|
[frontends.frontend-1.routes.test_1]
|
|
|
|
rule = "PathPrefix:/file"
|
2018-04-11 14:30:04 +00:00
|
|
|
|
2018-02-16 10:04:04 +00:00
|
|
|
[backends]
|
|
|
|
[backends.backend-test]
|
|
|
|
[backends.backend-test.servers.website]
|
2018-04-11 14:30:04 +00:00
|
|
|
url = "http://{{ .IP }}"
|
|
|
|
weight = 1
|