You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns true if rule1 has a higher priority than rule2.
21
21
22
22
From the spec:
23
-
Precedence must be given to the Rule with the largest number of (Continuing on ties):
24
-
- Characters in a matching non-wildcard hostname.
25
-
- Characters in a matching hostname.
26
-
- Characters in a matching path.
27
-
- Header matches.
28
-
- Query param matches.
23
+
Precedence must be given to the Rule with the largest number of (Continuing on ties):
24
+
- Characters in a matching non-wildcard hostname.
25
+
- Characters in a matching hostname.
26
+
- Characters in a matching path.
27
+
- Header matches.
28
+
- Query param matches.
29
29
30
-
If ties still exist across multiple Routes, matching precedence MUST be determined in order of the following criteria, continuing on ties:
31
-
- The oldest Route based on creation timestamp.
32
-
- The Route appearing first in alphabetical order by “{namespace}/{name}”.
30
+
If ties still exist across multiple Routes, matching precedence MUST be determined in order of the following criteria, continuing on ties:
31
+
- The oldest Route based on creation timestamp.
32
+
- The Route appearing first in alphabetical order by “{namespace}/{name}”.
33
33
34
-
If ties still exist within the Route that has been given precedence, matching precedence MUST be granted to the first matching rule meeting the above criteria.
34
+
If ties still exist within the Route that has been given precedence, matching precedence MUST be granted to the first matching rule meeting the above criteria.
35
35
36
36
higherPriority will determine precedence by comparing len(headers), len(query parameters), creation timestamp, and namespace name. The other criteria are handled by NGINX.
0 commit comments