npm_update_proxy_host
Update an existing Nginx Proxy Manager proxy host by ID to change domains, forwarding, SSL, advanced nginx configuration, and per-location settings.
Instructions
Update an existing proxy host. Supports advanced_config for custom nginx configuration and locations with per-location advanced_config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | Enable or disable the host | |
| host_id | Yes | The ID of the proxy host to update | |
| locations | No | Custom location blocks with per-location advanced_config | |
| ssl_forced | No | Force HTTPS | |
| domain_names | No | List of domain names | |
| forward_host | No | Target host | |
| forward_port | No | Target port | |
| hsts_enabled | No | Enable HSTS | |
| http2_support | No | Enable HTTP/2 | |
| access_list_id | No | Access list ID | |
| block_exploits | No | Block common exploits | |
| certificate_id | No | SSL certificate ID | |
| forward_scheme | No | Forwarding scheme | |
| advanced_config | No | Custom nginx configuration (advanced_config) | |
| caching_enabled | No | Enable caching | |
| hsts_subdomains | No | Include subdomains in HSTS | |
| trust_forwarded_proto | No | Trust X-Forwarded-Proto header | |
| allow_websocket_upgrade | No | Allow WebSocket upgrade |