npm_update_redirection_host
Update an existing Nginx Proxy Manager redirection host by ID, changing domains, forwarding, SSL, or custom nginx settings as needed.
Instructions
Update an existing redirection host. Supports advanced_config for custom nginx configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_id | Yes | The ID of the redirection host to update | |
| ssl_forced | No | Force HTTPS | |
| domain_names | No | List of domain names | |
| hsts_enabled | No | Enable HSTS | |
| http2_support | No | Enable HTTP/2 | |
| preserve_path | No | Preserve original path | |
| 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) | |
| hsts_subdomains | No | Include subdomains in HSTS | |
| forward_http_code | No | HTTP redirect code (300-308) | |
| forward_domain_name | No | Target domain |