Skip to main content

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

YAML/JSON settingTypeUsage
regex_priority_orderuint32optional

Examples

regex: '^/(admin|superuser)/.*$'
regex_priority_order: 1