npm_create_proxy_host
Create a new reverse proxy host to expose a service on a domain. Define domain names, forward scheme, host, and port to route traffic through Nginx Proxy Manager.
Instructions
Create a new reverse proxy host. This is the main way to expose a service via a domain through NPM.
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": {
"domain_names": "<domain_names>",
"forward_scheme": "<forward_scheme>",
"forward_host": "<forward_host>",
"forward_port": "<forward_port>"
},
"name": "npm_create_proxy_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| enabled | No | ||
| locations | No | ||
| ssl_forced | No | Force HTTPS (redirect HTTP -> HTTPS) | |
| domain_names | Yes | One or more domains, e.g. ["app.example.com"] | |
| forward_host | Yes | Upstream host/IP, e.g. 192.168.1.10 or service name | |
| forward_port | Yes | ||
| hsts_enabled | No | ||
| http2_support | No | ||
| block_exploits | No | ||
| certificate_id | No | 0 = no certificate, otherwise id of an existing certificate | |
| forward_scheme | Yes | ||
| advanced_config | No | ||
| caching_enabled | No | ||
| hsts_subdomains | No | ||
| allow_websocket_upgrade | No |