Regex Priority Order
Summary
If Regex Priority Order is set, the route will only match incoming requests with a path that matches the specified regular expression. The supported syntax is the same as the Go regexp package which is based on re2.
How to configure
- Core
- Enterprise
- Kubernetes
| YAML/JSON setting | Type | Usage |
|---|---|---|
regex_priority_order | uint32 | optional |
Examples
regex: "^/(admin|superuser)/.*$"
regex_priority_order: 1
Set Regex Priority Order in the Console:
- Enter a regular expression in the Regex field
- Enter the Regex Priority Order

The regex_priority_order setting can also be configured by Terraform.
Kubernetes does not support Regex Priority Order