2019-04-09 17:24:05 +02:00
[ global ]
2019-07-01 11:30:05 +02:00
checkNewVersion = false
sendAnonymousUsage = false
2019-04-09 17:24:05 +02:00
[ log ]
2019-07-01 11:30:05 +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 ]
2019-09-06 15:08:04 +02:00
insecure = true
2019-03-14 09:30:04 +01:00
[ providers . file ]
2019-07-15 10:22:03 +02:00
filename = "{{ .SelfFilename }}"
## dynamic configuration ##
2019-03-14 09:30:04 +01:00
[ tcp ]
2019-07-01 11:30:05 +02:00
[ tcp . routers ]
[ tcp . routers . to-whoami-a ]
rule = "HostSNI(`whoami-a.test`)"
service = "whoami-a"
entryPoints = [ "tcp" ]
[ tcp . routers . to-whoami-a . tls ]
2021-11-25 10:10:06 +00:00
passthrough = true
2019-07-01 11:30:05 +02:00
[ tcp . routers . to-whoami-b ]
rule = "HostSNI(`whoami-b.test`)"
service = "whoami-b"
entryPoints = [ "tcp" ]
[ tcp . routers . to-whoami-b . tls ]
2021-11-25 10:10:06 +00:00
passthrough = true
2019-07-01 11:30:05 +02:00
[ 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 ] ]
2021-11-25 10:10:06 +00:00
address = "whoami-no-tls:8080"
2019-07-01 11:30:05 +02:00
[ tcp . services . whoami-a . loadBalancer ]
[ [ tcp . services . whoami-a . loadBalancer . servers ] ]
2021-11-25 10:10:06 +00:00
address = "whoami-a:8080"
2019-07-01 11:30:05 +02:00
[ tcp . services . whoami-b . loadBalancer ]
[ [ tcp . services . whoami-b . loadBalancer . servers ] ]
2021-11-25 10:10:06 +00:00
address = "whoami-b:8080"
2019-07-01 11:30:05 +02:00
[ tcp . services . whoami-no-cert . loadBalancer ]
[ [ tcp . services . whoami-no-cert . loadBalancer . servers ] ]
2021-11-25 10:10:06 +00:00
address = "whoami-no-cert:8080"