-
The following example works, and applies to all content after /foo "route1": {
"ClusterId": "cluster1",
"AuthorizationPolicy": "customPolicy",
"Match": {
"Path": "/foo/{**catch-all}"
}
}, I now want to add a route which applies for all traffic which ends with something specific, but the middle part should be wildcard "route1": {
"ClusterId": "cluster1",
"AuthorizationPolicy": "customPolicy",
"Match": {
"Path": "/foo/{**wildcard}/bar"
}
}, In this case, the error message is: A catch-all parameter can only appear as the last segment of the route template. Is there a way to configure a route which does apply a wildcard which is in the middle of the uri? |
Beta Was this translation helpful? Give feedback.
Answered by
suntsu42
Mar 13, 2023
Replies: 1 comment 2 replies
-
I think i now found the solution by using message:regex
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
suntsu42
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think i now found the solution by using message:regex