Setup Nginx Reverse Proxy
setup_nginx_reverse_proxyConfigures Nginx reverse proxy or static web server after verifying domain A-record matches the server's IP. Supports WebSocket upgrades and static site deployment.
Instructions
Configures adaptive Nginx reverse proxy or static web server block after verifying domain A-record against the server's public IP address.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_port | No | Internal application target port on localhost (e.g., 3000, 8080) | |
| is_static | No | Set to true for static SPA/HTML sites serving static files from dist directory | |
| domain_name | No | Domain name or IP for Nginx server block (retrieved from .devops-mcp.json if omitted) | |
| has_websockets | No | Set to true to inject WebSocket upgrade headers into Nginx configuration |