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 2021/05/26 02:31:44 UTC

[GitHub] [apisix-dashboard] starsz commented on issue #1919: Vars in uri

starsz commented on issue #1919:
URL: https://github.com/apache/apisix-dashboard/issues/1919#issuecomment-848409251


   Add vars in uri is not support.
   
   But you can try to use var filed in route.
   refer: https://github.com/apache/apisix/blob/master/docs/en/latest/admin-api.md#route
   
   Like this:
   ```
    "vars": [["uri", "~~", "{your regex}"]],
   ```
   
    


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

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