header_constraint
Summary
Example object
{
"name": "X-Forwarded-Proto",
"value": "http"
}Fields
name
nameHeader key to match on. Supports regex expressions.
value
valueHeader value to match on. Supports regex expressions.
case_sensitive
case_sensitiveIf true, then the value regex matching will be case sensitive. Defaults to false.
invert
invertIf true, invert the value regex match. This allows easier "not" expressions.
For example, to match only X-Forwarded-Proto: "http":
But to match anything NOT "https":
Last updated
Was this helpful?