2019-04-09 15:24:05 +00:00
|
|
|
[global]
|
2019-07-01 09:30:05 +00:00
|
|
|
checkNewVersion = false
|
|
|
|
sendAnonymousUsage = false
|
2019-04-09 15:24:05 +00:00
|
|
|
|
|
|
|
[log]
|
2019-07-01 09:30:05 +00:00
|
|
|
level = "DEBUG"
|
2018-11-26 09:38:03 +00:00
|
|
|
|
2019-04-15 09:14:05 +00:00
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.web-secure]
|
2019-03-14 08:30:04 +00:00
|
|
|
address = ":4443"
|
2018-11-26 09:38:03 +00:00
|
|
|
|
|
|
|
[api]
|
2019-09-06 13:08:04 +00:00
|
|
|
insecure = true
|
2018-11-26 09:38:03 +00:00
|
|
|
|
2019-07-15 08:22:03 +00:00
|
|
|
[providers.file]
|
|
|
|
filename = "{{ .SelfFilename }}"
|
2019-07-01 09:30:05 +00:00
|
|
|
|
|
|
|
## dynamic configuration ##
|
2018-11-26 09:38:03 +00:00
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.routers]
|
|
|
|
[http.routers.router1]
|
2019-01-30 15:24:07 +00:00
|
|
|
rule = "HostRegexp(`{subdomain:[a-z1-9-]+}.snitest.com`)"
|
2019-03-14 08:30:04 +00:00
|
|
|
service = "service1"
|
|
|
|
[http.routers.router1.tls]
|
2018-11-26 09:38:03 +00:00
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.routers.router2]
|
|
|
|
rule = "HostRegexp(`{subdomain:[a-z1-9-]+}.www.snitest.com`)"
|
|
|
|
service = "service1"
|
|
|
|
[http.routers.router2.tls]
|
2018-11-26 09:38:03 +00:00
|
|
|
|
2019-03-14 08:30:04 +00:00
|
|
|
[http.services]
|
|
|
|
[http.services.service1]
|
2019-07-01 09:30:05 +00:00
|
|
|
[http.services.service1.loadBalancer]
|
|
|
|
[[http.services.service1.loadBalancer.servers]]
|
2019-03-14 08:30:04 +00:00
|
|
|
url = "http://127.0.0.1:9010"
|
2018-11-26 09:38:03 +00:00
|
|
|
|
2019-06-27 21:58:03 +00:00
|
|
|
[[tls.certificates]]
|
|
|
|
certFile = "fixtures/https/uppercase_wildcard.www.snitest.com.cert"
|
|
|
|
keyFile = "fixtures/https/uppercase_wildcard.www.snitest.com.key"
|
2019-03-14 08:30:04 +00:00
|
|
|
|
2019-06-27 21:58:03 +00:00
|
|
|
[tls.stores]
|
2019-07-01 09:30:05 +00:00
|
|
|
[tls.stores.default.defaultCertificate]
|
2019-03-14 08:30:04 +00:00
|
|
|
certFile = "fixtures/https/wildcard.snitest.com.cert"
|
|
|
|
keyFile = "fixtures/https/wildcard.snitest.com.key"
|