I'm trying to do a basic rewrite logic with the following dynamic configuration
http: routers: my-router: rule: "Host(`localhost`) && PathPrefix(`/console/subpath/`)" service: my-service middlewares: - my-stripprefix services: my-service: loadBalancer: servers: - url: "http://localhost:9090" middlewares: my-stripprefix: stripPrefix: prefixes: - "/console/subpath"
but when trying to start
traefik in the following fashion
I get the error
2023/05/17 11:17:47 command traefik error: field not found, node: stripPrefix
I see this feature is clearly documented here so I don't understand why this problem is happening