2019-04-09 17:24:05 +02:00
[ global ]
checkNewVersion = false
sendAnonymousUsage = false
[ log ]
2019-04-16 15:30:09 +02:00
level = "DEBUG"
2019-04-09 17:24:05 +02:00
2019-04-15 11:14:05 +02:00
[ entryPoints ]
[ entryPoints . tcp ]
2019-03-14 09:30:04 +01:00
address = ":8093"
[ api ]
[ providers . file ]
[ http ]
[ http . routers ]
[ http . routers . my-router ]
rule = "Path(`/test`)"
service = "whoami"
entrypoint = [ "tcp" ]
[ http . routers . my-https-router ]
2019-04-15 11:14:05 +02:00
entryPoints = [ "tcp" ]
2019-03-14 09:30:04 +01:00
rule = "Path(`/whoami/`)"
service = "whoami"
[ http . routers . my-https-router . tls ]
[ http . services ]
[ http . services . whoami . loadbalancer ]
[ [ http . services . whoami . loadbalancer . servers ] ]
url = "http://localhost:8085"
[ tcp ]
[ tcp . routers ]
[ tcp . routers . to-whoami-a ]
rule = "HostSNI(`whoami-a.test`)"
service = "whoami-a"
2019-04-15 11:14:05 +02:00
entryPoints = [ "tcp" ]
2019-03-14 09:30:04 +01:00
[ tcp . routers . to-whoami-a . tls ]
passthrough = true
[ tcp . routers . to-whoami-b ]
rule = "HostSNI(`whoami-b.test`)"
service = "whoami-b"
2019-04-15 11:14:05 +02:00
entryPoints = [ "tcp" ]
2019-03-14 09:30:04 +01:00
[ tcp . routers . to-whoami-b . tls ]
passthrough = true
[ tcp . routers . to-whoami-no-cert ]
rule = "HostSNI(`whoami-c.test`)"
service = "whoami-no-cert"
2019-04-15 11:14:05 +02:00
entryPoints = [ "tcp" ]
2019-03-14 09:30:04 +01:00
[ tcp . routers . to-whoami-no-cert . tls ]
2019-06-05 22:18:06 +02:00
[ tcp . services . whoami-a . loadbalancer ]
[ [ tcp . services . whoami-a . loadbalancer . servers ] ]
2019-03-14 09:30:04 +01:00
address = "localhost:8081"
2019-06-05 22:18:06 +02:00
[ tcp . services . whoami-b . loadbalancer ]
[ [ tcp . services . whoami-b . loadbalancer . servers ] ]
2019-03-14 09:30:04 +01:00
address = "localhost:8082"
2019-06-05 22:18:06 +02:00
[ tcp . services . whoami-no-cert . loadbalancer ]
[ [ tcp . services . whoami-no-cert . loadbalancer . servers ] ]
2019-03-14 09:30:04 +01:00
address = "localhost:8083"
[ [ tls ] ]
[ tls . certificate ]
certFile = "fixtures/tcp/whoami-c.crt"
keyFile = "fixtures/tcp/whoami-c.key"