1
0
Fork 0

web provider post

ramify
This commit is contained in:
emile 2015-09-09 09:16:56 +02:00
parent 8dabe42a8a
commit f6d587b16a
4 changed files with 8 additions and 9 deletions

32
ramify.toml Normal file
View file

@ -0,0 +1,32 @@
[docker]
endpoint = "unix:///var/run/docker.sock"
watch = true
[web]
address = ":8010"
#[file]
#filename = "ramify.toml"
#watch = true
[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"
[backends.backend2]
[backends.backend2.servers.server1]
url = "http://172.17.0.2:80"
[routes]
[routes.route1]
backends = ["backend1", "backend2"]
[routes.route1.rules.test_zenika_1]
category = "Host"
value = "test.zenika.fr"
[routes.route2]
backends = ["backend1"]
[routes.route2.rules.test_zenika_2]
category = "Path"
value = "/test"