Hi,
I can't seem to find a way to use a multiple subpaths for a route ex: /customers/customer/service1
My environment test has traefik 2.1 and some instance of containous/whoami:v1.3.0.
This is a code that works well with a single subpath for /who
But I need a multiple subpaths like test.mydomain.om/customers/customer/who, I tried to replace PathPrefix and stripprefix.prefixes string with "test.mydomain.om/customers/customer/who" but it doesn't work. What is the correct syntax? (I work without toeml configuration file but only command option in docker-compose)
Please I need help to understand the new rules about subpath routing. In the last version (1.7) i can do this with one single line of code per service in docker compose with PathPrefixStrip label...
Thanks @Minikea
did you try to use the API route of whoami container?
If I curl the container directly curl 172.1.0.2/api
I can get the correct answer in json like: {"hostname":"c888c0c482d0","ip":["127.0.0.1","172.1.0.2"],"headers":{"Accept":["*/*"],"User-Agent":["curl/7.58.0"]},"url":"/api","host":"172.1.0.2","method":"GET"}