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"
|
2019-04-09 15:24:05 +00:00
|
|
|
|
2019-04-15 09:14:05 +00:00
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.tcp]
|
2019-03-14 08:30:04 +00:00
|
|
|
address = ":8093"
|
|
|
|
|
|
|
|
[api]
|
|
|
|
|
|
|
|
[providers.file]
|
|
|
|
|
|
|
|
[tcp]
|
2019-07-01 09:30:05 +00:00
|
|
|
[tcp.routers]
|
|
|
|
[tcp.routers.to-whoami-a]
|
|
|
|
rule = "HostSNI(`whoami-a.test`)"
|
|
|
|
service = "whoami-a"
|
|
|
|
entryPoints = [ "tcp" ]
|
|
|
|
[tcp.routers.to-whoami-a.tls]
|
|
|
|
passthrough=true
|
|
|
|
|
|
|
|
[tcp.routers.to-whoami-b]
|
|
|
|
rule = "HostSNI(`whoami-b.test`)"
|
|
|
|
service = "whoami-b"
|
|
|
|
entryPoints = [ "tcp" ]
|
|
|
|
[tcp.routers.to-whoami-b.tls]
|
|
|
|
passthrough=true
|
|
|
|
|
|
|
|
[tcp.routers.to-whoami-no-cert]
|
|
|
|
rule = "HostSNI(`whoami-c.test`)"
|
|
|
|
service = "whoami-no-cert"
|
|
|
|
entryPoints = [ "tcp" ]
|
|
|
|
[tcp.routers.to-whoami-no-cert.tls]
|
|
|
|
|
|
|
|
[tcp.routers.to-whoami-no-tls]
|
|
|
|
entryPoints = ["tcp"]
|
|
|
|
rule="HostSNI(`*`)"
|
|
|
|
service = "whoami-no-tls"
|
|
|
|
|
|
|
|
[tcp.services]
|
|
|
|
[tcp.services.whoami-no-tls.loadBalancer]
|
|
|
|
[[tcp.services.whoami-no-tls.loadBalancer.servers]]
|
|
|
|
address = "localhost:8084"
|
|
|
|
|
|
|
|
[tcp.services.whoami-a.loadBalancer]
|
|
|
|
[[tcp.services.whoami-a.loadBalancer.servers]]
|
|
|
|
address = "localhost:8081"
|
|
|
|
|
|
|
|
[tcp.services.whoami-b.loadBalancer]
|
|
|
|
[[tcp.services.whoami-b.loadBalancer.servers]]
|
|
|
|
address = "localhost:8082"
|
|
|
|
|
|
|
|
[tcp.services.whoami-no-cert.loadBalancer]
|
|
|
|
[[tcp.services.whoami-no-cert.loadBalancer.servers]]
|
|
|
|
address = "localhost:8083"
|