Continuation of: Does tcp route support middleware
Now that Traefik 2.5 supports middleware on tcp-routers, how would we enable this?
[tcp.routers] [tcp.routers.ipmi-rtr] entryPoints = ["https"] rule = "HostSNI(`ipmi.mydomain.com`)" service = "ipmi-svc" middlewares = ["chain-oauth"] [tcp.routers.ipmi-rtr.tls] certresolver = "dns-cloudflare" passthrough = true [tcp.services] [tcp.services.ipmi-svc] [tcp.services.ipmi-svc.loadBalancer] [[tcp.services.ipmi-svc.loadBalancer.servers]] address = "192.168.0.253:443"
But it's stating the middleware doesn't exist.
- today at 18:17:58 time="2021-09-02T18:17:58+01:00" level=error msg="middleware "chain-oauth@file" does not exist" entryPointName=https routerName=ipmi-rtr@file
Since the feature is quite new, not quite sure how to enact this.
Thanks for any help!