traefik/træfik.toml

34 lines
697 B
TOML
Raw Normal View History

2015-09-08 20:41:14 +00:00
[docker]
endpoint = "unix:///var/run/docker.sock"
watch = true
2015-09-09 15:10:43 +00:00
domain = "toto.fr"
2015-09-07 21:25:07 +00:00
2015-09-08 11:33:10 +00:00
[web]
address = ":8010"
2015-09-08 20:41:14 +00:00
#[file]
#filename = "træfik.toml"
2015-09-08 20:41:14 +00:00
#watch = true
2015-09-01 20:28:24 +00:00
2015-09-07 21:25:07 +00:00
[backends]
[backends.backend1]
[backends.backend1.servers.server1]
url = "http://172.17.0.2:80"
[backends.backend1.servers.server2]
url = "http://172.17.0.3:80"
2015-09-08 20:03:31 +00:00
[backends.backend2]
[backends.backend2.servers.server1]
url = "http://172.17.0.2:80"
2015-09-07 21:25:07 +00:00
[routes]
[routes.route1]
2015-09-09 15:41:33 +00:00
backend = "backend2"
2015-09-07 21:25:07 +00:00
[routes.route1.rules.test_zenika_1]
category = "Host"
value = "test.zenika.fr"
[routes.route2]
2015-09-09 15:41:33 +00:00
backend = "backend1"
2015-09-07 21:25:07 +00:00
[routes.route2.rules.test_zenika_2]
category = "Path"
2015-09-08 20:03:31 +00:00
value = "/test"