nginx_generate_proxy
Generate an Nginx reverse proxy config from a server name and backend URL. Optionally set the listen port, enable WebSocket proxying, and include API key authentication.
Instructions
Generate an Nginx reverse proxy configuration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| websocket | No | Enable WebSocket proxying | |
| listen_port | No | Listen port (default 80) | |
| server_name | Yes | Server hostname | |
| upstream_url | Yes | Backend upstream URL |