44 lines
1.2 KiB
TOML
44 lines
1.2 KiB
TOML
[providers.file]
|
|
|
|
## dynamic configuration ##
|
|
|
|
[http.routers]
|
|
|
|
[http.routers."router1"]
|
|
service = "application-1"
|
|
|
|
[http.routers."router2"]
|
|
service = "application-2"
|
|
|
|
|
|
[http.services]
|
|
|
|
[http.services.application-1.loadBalancer]
|
|
[[http.services.application-1.loadBalancer.servers]]
|
|
url = "http://172.17.0.1:80"
|
|
|
|
[http.services.application-2.loadBalancer]
|
|
[[http.services.application-2.loadBalancer.servers]]
|
|
url = "http://172.17.0.2:80"
|
|
|
|
[http.services.application-3.loadBalancer]
|
|
[[http.services.application-3.loadBalancer.servers]]
|
|
url = "http://172.17.0.3:80"
|
|
|
|
[tls]
|
|
|
|
[[tls.certificates]]
|
|
certFile = "integration/fixtures/https/snitest1.com.cert"
|
|
keyFile = "integration/fixtures/https/snitest1.com.key"
|
|
|
|
[[tls.certificates]]
|
|
certFile = "integration/fixtures/https/snitest2.com.cert"
|
|
keyFile = "integration/fixtures/https/snitest2.com.key"
|
|
|
|
[[tls.certificates]]
|
|
certFile = "integration/fixtures/https/snitest3.com.cert"
|
|
keyFile = "integration/fixtures/https/snitest3.com.key"
|
|
|
|
[[tls.certificates]]
|
|
certFile = "integration/fixtures/https/snitest4.com.cert"
|
|
keyFile = "integration/fixtures/https/snitest4.com.key"
|