Just want to check if there can be any issues with two proxies have basepath as below under the same vHost
1- /v1/foo
2- /v1/foo/bar
Lets assume that 1 does not have an endpoint with 'bar'
No issues. It will work . All calls that start with /v1/foo/bar will get sent to proxy2. All calls that start with /v1/foo (but not /v1/foo/bar) will get sent to proxy1.
A Corollary: If proxy1 has a "Conditional flow" that checks for /bar, that conditional flow will never be reached, assuming proxy2 is already deployed in the same environment.