Rewrite path (regex)
Rewrite the request path with a regular expression before it reaches the app.
| Type | rewriteRegex |
| Category | Transform |
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
pattern | text | yes | — | Regular expression matched against the request path. Example: ^/old/(.*). |
replacement | text | yes | — | Replacement path. Use $1, $2… for the pattern's capture groups. Example: /new/$1. |