forked from Ivasoft/traefik
Allow file provider to load config from files in a directory.
This commit is contained in:
committed by
Ludovic Fernandez
parent
73e10c96cc
commit
4128c1ac8d
11
integration/fixtures/file/dir/simple1.toml
Normal file
11
integration/fixtures/file/dir/simple1.toml
Normal file
@@ -0,0 +1,11 @@
|
||||
# rules
|
||||
[backends]
|
||||
[backends.backend1]
|
||||
[backends.backend1.servers.server1]
|
||||
url = "http://172.17.0.2:80"
|
||||
|
||||
[frontends]
|
||||
[frontends.frontend1]
|
||||
backend = "backend1"
|
||||
[frontends.frontend1.routes.test_1]
|
||||
rule = "Path:/test1"
|
||||
11
integration/fixtures/file/dir/simple2.toml
Normal file
11
integration/fixtures/file/dir/simple2.toml
Normal file
@@ -0,0 +1,11 @@
|
||||
# rules
|
||||
[backends]
|
||||
[backends.backend2]
|
||||
[backends.backend2.servers.server1]
|
||||
url = "http://172.17.0.2:80"
|
||||
|
||||
[frontends]
|
||||
[frontends.frontend2]
|
||||
backend = "backend2"
|
||||
[frontends.frontend2.routes.test_2]
|
||||
rule = "Path:/test2"
|
||||
Reference in New Issue
Block a user