2015-11-21 01:59:49 +00:00
|
|
|
logLevel = "DEBUG"
|
|
|
|
|
2016-02-01 10:07:05 +00:00
|
|
|
defaultEntryPoints = ["https"]
|
2015-11-21 01:59:49 +00:00
|
|
|
|
2016-02-01 10:07:05 +00:00
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.https]
|
|
|
|
address = ":4443"
|
|
|
|
[entryPoints.https.tls]
|
|
|
|
[[entryPoints.https.tls.certificates]]
|
|
|
|
CertFile = "fixtures/https/snitest.com.cert"
|
|
|
|
KeyFile = "fixtures/https/snitest.com.key"
|
|
|
|
[[entryPoints.https.tls.certificates]]
|
|
|
|
CertFile = "fixtures/https/snitest.org.cert"
|
|
|
|
KeyFile = "fixtures/https/snitest.org.key"
|
2015-11-21 01:59:49 +00:00
|
|
|
|
|
|
|
[file]
|
|
|
|
|
|
|
|
[backends]
|
|
|
|
[backends.backend1]
|
|
|
|
[backends.backend1.servers.server1]
|
|
|
|
url = "http://127.0.0.1:9010"
|
|
|
|
[backends.backend2]
|
|
|
|
[backends.backend2.servers.server1]
|
|
|
|
url = "http://127.0.0.1:9020"
|
|
|
|
|
|
|
|
[frontends]
|
|
|
|
[frontends.frontend1]
|
|
|
|
backend = "backend1"
|
|
|
|
[frontends.frontend1.routes.test_1]
|
2016-03-27 00:05:17 +00:00
|
|
|
rule = "Host:snitest.com"
|
2015-11-21 01:59:49 +00:00
|
|
|
[frontends.frontend2]
|
|
|
|
backend = "backend2"
|
|
|
|
[frontends.frontend2.routes.test_2]
|
2016-03-27 00:05:17 +00:00
|
|
|
rule = "Host:snitest.org"
|