add_map_remote
Redirect matching proxy requests to another server, such as staging or a local dev backend; append * to the target URL to preserve the original path suffix.
Instructions
Send matching requests to another server, e.g. prod → staging or a local dev server. A trailing * on to keeps the rest of the original path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target, e.g. https://staging.example.com/* or http://localhost:3000 | |
| ttl | No | 1h | |
| url | Yes | URL pattern, e.g. https://api.example.com/* | |
| name | No | ||
| preserve_host_header | No | Keep the original Host header |