npm_create_redirection_host
Create a redirection host in Nginx Proxy Manager to redirect domains to a target URL, with custom nginx rules, SSL, and HTTP options.
Instructions
Create a new redirection host. Supports advanced_config for custom nginx configuration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ssl_forced | No | Force HTTPS | |
| domain_names | Yes | 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 | Yes | Forwarding scheme | |
| advanced_config | No | Custom nginx configuration (advanced_config) | |
| hsts_subdomains | No | Include subdomains in HSTS | |
| forward_http_code | Yes | HTTP redirect code (300-308) | |
| forward_domain_name | Yes | Target domain to redirect to |