nginx
Installation
SKILL.md
Nginx
Nginx is a high-performance HTTP server, reverse proxy, and load balancer known for its asynchronous event-driven architecture and native HTTP/3 support.
When to Use
- High-Performance HTTP Reverse Proxy & Web Server: Serving millions of requests per second with an asynchronous event-driven architecture.
- SSL/TLS Termination & HTTP/2/HTTP/3: Offloading cryptographic handshakes and managing Let's Encrypt certificates.
- Upstream Load Balancing & Microservice Routing: Distributing traffic across backend clusters with keepalive connection pools.
- Rate Limiting & DDoS Defense: Enforcing token-bucket rate limits (
limit_req_zone) per IP address.
Quick Start
# nginx.conf
server {
listen 443 quic reuseport;
listen 443 ssl;
http2 on;