Created
May 9, 2019 07:18
-
-
Save dniel/e1f00ca885c5eea2c6ece821c555ad84 to your computer and use it in GitHub Desktop.
TCP/SSL passthrough with traefik 2.0 and file provider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Global] | |
Debug = true | |
CheckNewVersion = false | |
SendAnonymousUsage = false | |
[entrypoints] | |
[entrypoints.https] | |
address = ":443" | |
[API] | |
Dashboard = true | |
[API.Statistics] | |
RecentErrors = 42 | |
[providers.file] | |
[http] | |
[tcp.routers] | |
[tcp.routers.Router-1] | |
entryPoints = ["https"] | |
rule = "HostSNI(`*`)" | |
service = "my-service" | |
[tcp.routers.Router-1.tls] | |
passthrough=true | |
[tcp.services] | |
[tcp.services.my-service.LoadBalancer] | |
[[tcp.services.my-service.LoadBalancer.servers]] | |
address = "xxx:31443" | |
[[tcp.services.my-service.LoadBalancer.servers]] | |
address = "xxx:31443" | |
[[tcp.services.my-service.LoadBalancer.servers]] | |
address = "xxx:31443" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment