tzssangglass commented on issue #8127:
URL: https://github.com/apache/apisix/issues/8127#issuecomment-1284841871

   > /service/object/:objectId (route or mask) to this 
/service/action/object/:objectId (backend service)
   
   this can be done with `proxy-rewrite` plugin, config like:
   
   ```json
   {
       "upstream":{
           "nodes":{
               "127.0.0.1:1980":1
           },
           "type":"roundrobin"
       },
       "plugins":{
           "proxy-rewrite":{
               "regex_uri":[
                   "^/service/(.*)",
                   "/service/action/$1"
               ]
           }
       },
       "uri":"/service/*"
   }
   ```


-- 
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]

Reply via email to