What problem does it solve?
This Skill helps operators and developers place nginx in front of application servers to forward client requests, preserve client identity, distribute load across backends, handle WebSocket and SSE streams, and provide optional response caching and failover so applications remain performant and reachable.
Core Features & Use Cases
- Centralized reverse proxy configuration with upstream groups and multiple load balancing methods for stateless and stateful affinity.
- Proper header forwarding and HTTP/1.1 keepalive settings so backends receive original Host, client IP, and protocol information.
- WebSocket and Server-Sent Events support with increased timeouts and connection upgrade handling, plus optional proxy caching and failover strategies.
- Use case: Put nginx in front of a Node.js cluster to terminate TLS, load balance traffic with least-connections, proxy WebSocket chat connections, and cache GET responses for static API endpoints.
Quick Start
Generate a reverse proxy configuration named myapp that load balances 127.0.0.1:3000 and 127.0.0.1:3001, uses least-conn, and enables WebSocket proxying on path /ws/.