kingluo commented on issue #9258: URL: https://github.com/apache/apisix/issues/9258#issuecomment-1500366151
What part of the uri do you want to extract? In my code, I assume you need to get the second part, that is, for `/machine/health`, you need `/health`. If that's not your case, you need to configure the target uri you need for the upstream server. In your output, the request http://api-test.xxx.com/machine/health will be changed to http://api-test.xxx.com/health, and it's obvious it's sent to the controller server, but gets 404 finally. Anyways, you need to debug your regexp to fit your need. -- 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]
