Nginx Patterns
Nginx patterns covering reverse proxy, SSL/TLS with Let's Encrypt, security headers, gzip compression, caching, rate limiting, and performance tuning.
- Difficulty
- intermediate
- Read time
- 1 min read
- Version
- v1.0.0
- Confidence
- established
- Last updated
Quick Reference
Nginx: TLS 1.2/1.3 only with strong ciphers. Security headers (HSTS, X-Frame-Options, CSP). server_tokens off. Gzip text/css/js (not images). proxy_cache for static content. Rate limiting with limit_req_zone. worker_processes auto. open_file_cache for static files. Let's Encrypt with certbot for free SSL.
Use When
- Web server configuration
- Reverse proxy setup
- SSL termination
- Static file serving
Skip When
- Apache httpd
- Caddy server
- Cloud load balancers
Nginx Patterns
Nginx patterns covering reverse proxy, SSL/TLS with Let’s Encrypt, security headers, gzip compression, caching, rate limiting, and performance tuning.