Skip to main content

Module uri_blocker

Module uri_blocker 

Source
Expand description

URI block-rule plugin (uri-blocker).

Port of APISIX’s uri-blocker: matches the request URI (path plus query string) against a list of regexes and rejects matching requests with a configurable status code. Rejections are routed through the node’s error port with error code URI_BLOCKED.

Structs§

UriBlockerPlugin
Blocks requests whose URI matches any configured block_rules regex.