mirror of
https://github.com/containous/traefik.git
synced 2024-12-23 17:34:13 +03:00
59 lines
1.6 KiB
TOML
59 lines
1.6 KiB
TOML
[global]
|
|
checkNewVersion = false
|
|
sendAnonymousUsage = false
|
|
|
|
[log]
|
|
level = "DEBUG"
|
|
|
|
[entryPoints]
|
|
[entryPoints.tcp]
|
|
address = ":8093"
|
|
|
|
[api]
|
|
|
|
[providers.file]
|
|
|
|
[tcp]
|
|
[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"
|