Background: As I mentioned in the issue [1], the URI rewriting feature of proxy-rewrite and the adaptive URI of proxy-mirror do not work at the same time. proxy-mirror will still use the URI before rewriting, which is a plugin incompatibility case.
Discuss: If we want to solve this problem, we need to modify the path in the proxy-mirror to give preference to the rewritten upstream_uri value if the uri and upstream_uri do not match. This change is considered a breaking change, so we need to discuss it in the community, what do you think about it? [1] https://github.com/apache/apisix/issues/8167 [2] https://github.com/apache/apisix/blob/master/apisix/plugins/proxy-mirror.lua#L86-L87