We have scenario where end user makes request
http://TRAEFIK_HOST/myexample/tenant1/docs and this needs to be converted to
we have configured traefik as below:
http: routers: docroute: rule: "PathPrefix(`/myexample/`)" service: docs middlewares: - replacepathx@file services: docs: loadBalancer: servers: - url: "http://localhost:8011" middlewares: replacepathx: replacePathRegex: regex: "^/myexample/(.*)/docs/" replacement: "/docs?tenant=$1"
While forwarding the request, URL is getting encoding and it becomes
This is causing 404 not found exception.
How to avoid encoding of '?' while forwarding the request.
thanks and regards,