Global configration toml
This commit is contained in:
commit
0a09a78cac
5 changed files with 75 additions and 38 deletions
18
file.toml
Normal file
18
file.toml
Normal file
|
@ -0,0 +1,18 @@
|
|||
[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"
|
||||
|
||||
[routes]
|
||||
[routes.route1]
|
||||
backends = ["backend1"]
|
||||
[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"
|
Loading…
Add table
Add a link
Reference in a new issue