proxy_rewrite_url
Rewrites request URLs that match a regex pattern, replacing matched parts with a specified string to modify network traffic.
Instructions
Rewrite request URLs matching a pattern. Creates a passthrough rule with body match-replace on the URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match_pattern | Yes | Regex pattern to match in URLs | |
| replace_with | Yes | Replacement string | |
| hostname | No | Limit to this hostname | |
| priority | No | Rule priority (default: 50) |