2019-06-17 16:14:08 +00:00
|
|
|
[global]
|
2019-07-01 09:30:05 +00:00
|
|
|
checkNewVersion = false
|
|
|
|
sendAnonymousUsage = false
|
2019-06-17 16:14:08 +00:00
|
|
|
|
|
|
|
[log]
|
2019-07-01 09:30:05 +00:00
|
|
|
level = "DEBUG"
|
2019-06-17 16:14:08 +00:00
|
|
|
|
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.tcp]
|
|
|
|
address = ":8093"
|
|
|
|
|
|
|
|
[api]
|
2019-09-06 13:08:04 +00:00
|
|
|
insecure = true
|
2019-06-17 16:14:08 +00:00
|
|
|
|
|
|
|
[providers.file]
|
2019-07-15 08:22:03 +00:00
|
|
|
filename = "{{ .SelfFilename }}"
|
2019-06-17 16:14:08 +00:00
|
|
|
|
2019-07-01 09:30:05 +00:00
|
|
|
## dynamic configuration ##
|
|
|
|
|
2019-06-17 16:14:08 +00:00
|
|
|
[tcp]
|
2019-07-01 09:30:05 +00:00
|
|
|
[tcp.routers]
|
|
|
|
[tcp.routers.to-whoami-no-cert]
|
|
|
|
rule = "HostSNI(`whoami-c.test`)"
|
|
|
|
service = "whoami-no-cert"
|
|
|
|
entryPoints = [ "tcp" ]
|
|
|
|
[tcp.routers.to-whoami-no-cert.tls]
|
|
|
|
options = "foo"
|
|
|
|
|
|
|
|
[tcp.routers.to-whoami-sni-strict]
|
|
|
|
rule = "HostSNI(`whoami-d.test`)"
|
|
|
|
service = "whoami-no-cert"
|
|
|
|
entryPoints = [ "tcp" ]
|
|
|
|
[tcp.routers.to-whoami-sni-strict.tls]
|
|
|
|
options = "bar"
|
|
|
|
|
|
|
|
[tcp.services.whoami-no-cert]
|
|
|
|
[tcp.services.whoami-no-cert.loadBalancer]
|
|
|
|
[[tcp.services.whoami-no-cert.loadBalancer.servers]]
|
2022-07-13 16:32:08 +00:00
|
|
|
address = "{{ .WhoamiNoCert }}"
|
2019-06-17 16:14:08 +00:00
|
|
|
|
2019-06-27 21:58:03 +00:00
|
|
|
[tls.options]
|
|
|
|
|
|
|
|
[tls.options.foo]
|
2022-08-09 15:36:08 +00:00
|
|
|
minVersion = "VersionTLS12"
|
2019-06-17 16:14:08 +00:00
|
|
|
|
2019-06-27 21:58:03 +00:00
|
|
|
[tls.options.bar]
|
2022-08-09 15:36:08 +00:00
|
|
|
minVersion = "VersionTLS13"
|