You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "ro4i7 (via GitHub)" <gi...@apache.org> on 2023/03/20 11:13:41 UTC

[GitHub] [apisix] ro4i7 commented on pull request #9070: docs: Examples for Route Matching

ro4i7 commented on PR #9070:
URL: https://github.com/apache/apisix/pull/9070#issuecomment-1476039839

   > In fact, I want to know the priority of those route match type.
   
   Priority of those route match in order is : 
   
   1. Host + URI + Vars + FilterFunctions: This criterion matches requests based on the combination of the host, URI, variables extracted from the URI using regular expressions, and the output of a user-defined filter function. This is the most specific and fine-grained type of route matching.
   
   2. Host + URI + Vars: This criterion matches requests based on the combination of the host, URI, and variables extracted from the URI using regular expressions. This is less specific than the previous type but still allows for some level of variable-based matching.
   
   3. Host + URI: This criterion matches requests based on the combination of the host and URI. This is the least specific type of route matching and will match any requests with the specified host and URI.


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