create-proxy-host
create-proxy-hostCreate a new Nginx Proxy Manager proxy host by specifying domain names, backend scheme, host, and port, with optional SSL, HSTS, caching, and websocket settings.
Instructions
Create a new proxy host. Domain names, forward host/port, and scheme are required. SSL, HSTS, caching, and websocket options available.
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": {
"instanceName": "<instanceName>",
"domainNames": "<domainNames>",
"forwardScheme": "<forwardScheme>",
"forwardHost": "<forwardHost>",
"forwardPort": "<forwardPort>"
},
"name": "create-proxy-host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | ||
| locations | No | JSON array of location objects | |
| sslForced | No | ||
| domainNames | Yes | List of domain names (e.g. ["app.example.com"]) | |
| forwardHost | Yes | Backend hostname or IP | |
| forwardPort | Yes | Backend port | |
| hstsEnabled | No | ||
| accessListId | No | ||
| http2Support | No | ||
| instanceName | Yes | ||
| blockExploits | No | ||
| certificateId | No | ||
| forwardScheme | Yes | ||
| advancedConfig | No | ||
| cachingEnabled | No | ||
| hstsSubdomains | No | ||
| trustForwardedProto | No | ||
| allowWebsocketUpgrade | No |