add_reverse_proxy_route
Route traffic from a domain to a backend address by adding a reverse proxy rule to your Caddy server.
Instructions
Add a reverse proxy route to Caddy. host: domain (e.g. 'app.example.com'). upstream: backend dial address (e.g. 'localhost:3000'). server_name: Caddy server block (auto-detects first server if empty).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>",
"upstream": "<upstream>"
},
"name": "add_reverse_proxy_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| upstream | Yes | ||
| server_name | No |