pavlenkodev commented on issue #10419: URL: https://github.com/apache/apisix/issues/10419#issuecomment-1786697833
> Вам не кажется, что согласно регулярному выражению URI `/api/*`будет соответствовать (заменять) все это: `/api/*/*/test`, `/api/*/test`, `/api/*/*`. > > Таким образом, сопоставление маршрутов изначально не будет работать так, как предполагалось. Yes, /api/* covers all other routes, but in my situation it is necessary to have a proxy-rewrite on each of the routes, because redirection occurs on `/api/mock/test/1`, `/api/mock/test/2` etc. Each route will have its own forwarding address. I forgot to mention this in the description, sorry. I suppose I should use priorities, or create routes in a certain order -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
