Traefik v2.0 Path Rule

Hello,

With the traefik 2.0 path rule, can I specify a path to route a backend service, even if my service does not listen on the said path?

For example, can I specify /foo as a path route, and have traefik send the request to the appropriate backend service?

Yes. You would then probably have to strip /foo from the path, so your backend knows that it should start to work, right? https://docs.traefik.io/v2.0/middlewares/stripprefix/

Got it. Thank you very much for your help!