proxy_rewrite_url
Rewrites request URLs matching a regex pattern by creating a passthrough rule, making it easy to modify traffic or redirect requests.
Instructions
Rewrite request URLs matching a pattern. Creates a passthrough rule with body match-replace on the URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | No | Limit to this hostname | |
| priority | No | Rule priority (default: 50) | |
| replace_with | Yes | Replacement string | |
| match_pattern | Yes | Regex pattern to match in URLs |