You can nest matches
One level of match nesting is supported. (You can include two match criteria in a single rule.)
Example of nesting match criteria
With this example code segment, if the URL begins with /path1
or
/path2
, and the request method is GET
, then the
"behaviors" : [ ]
that are set in the policy are applied.
"matches" : [
{
"name" : "url-path",
"value" : "path1 path2"
},
{
"name" : "http-method",
"value" : "GET"
}
],
"behaviors" : [ {any behaviors you apply in the policy} ]