load-balancer
Installation
SKILL.md
Load Balancer
Overview
This skill helps AI agents configure production-grade load balancers and reverse proxies. It covers Nginx and HAProxy setup, SSL termination, rate limiting, WebSocket proxying, health checks, and traffic routing strategies for web applications and APIs.
Instructions
Step 1: Choose Architecture
Determine the right setup based on requirements:
- Single service, HTTPS needed → Nginx reverse proxy with SSL
- Multiple backends, different routing rules → Nginx with upstream groups or HAProxy with ACLs
- TCP/UDP traffic (databases, Redis) → Nginx stream module or HAProxy TCP mode
- Need advanced health checks, circuit breaking → HAProxy (more powerful health check DSL)
- Kubernetes → Ingress controller (nginx-ingress or Traefik)
Step 2: Configure Nginx Reverse Proxy
Related skills