You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/12/21 06:06:03 UTC

[GitHub] [apisix] bluewaystar commented on issue #8547: help request: Errors are reported by different consumers pointing to different published routes

bluewaystar commented on issue #8547:
URL: https://github.com/apache/apisix/issues/8547#issuecomment-1360894833

   Create route R1 and R2:
   {
       "uri": ["/*"],
       "methods": ["GET","POST"],
       "priority": 0,
       "name": "R1",
       "plugins": {"jwt-auth": {"disable": false},"consumer-restriction": {
               "whitelist": [
                   "C1"
               ]
           }, "proxy-rewrite": {
               "regex_uri": ["^/xy/(.*)","/$1"]
           }},
       "desc": "R1 DESC",
       "upstream_id": "00000000000000000430"
   }
   
   {
       "uris": ["/*"],
       "methods": ["GET","POST"],
       "priority": 0,
       "name": "R2",
       "plugins": {"jwt-auth": {"disable": false},"consumer-restriction": {
               "whitelist": [
                   "C2"
               ]
           }, "proxy-rewrite": {
               "regex_uri": ["^/mn/(.*)","/$1"]
           }},
       "desc": "R2 DESC",
       "upstream_id": "00000000000000000432"
   }


-- 
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-unsubscribe@apisix.apache.org

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