brighten1023 opened a new issue #784:
URL: https://github.com/apache/apisix-ingress-controller/issues/784


   ### Issue description
   I deployed a nginx server for frontend web, and a tomcat server for backend 
web. I want the traffic to go to backend when accessing '/api/*', and other 
traffic to go to frontend. Since I use the proxy-rewriter, I write the 
regex_uri: ["^/api/(.*)$", "/api/$1"] in the backend route, and regex_uri: 
["^/(.*)","/$1"] in the frontend route. Now I access frontend web, everything 
is correct, but when I try to access backend web, it goes 404.  I guess the 
regex_uri may be wrong, but I don't know how to correct it.
   
   ### Environment
   
   * apisix-ingress-controller version 1.3;
   
   


-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to