
Nginx Configuration
This gets you production-ready Nginx configs for reverse proxying, load balancing, and SSL termination without starting from scratch. It covers the essentials like HTTP/2, rate limiting, upstream health checks, and proper caching strategies. The reference guides include monitoring setup and scripts to automate configuration. Honest take: Nginx config syntax is notoriously finicky, and having working examples for common patterns like API gateways and multi-backend load balancing saves hours of debugging cryptic error messages. The best practices section actually helps, especially the warnings about not caching authenticated responses and keeping least_conn for load balancing.
- skills.sh installs
- 1.5K
- GitHub stars
- 379
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill nginx-configuration --agent claude-codeInstalls into .claude/skills of the current project.
Files
Nginx Configuration
Table of Contents
Overview
Master Nginx configuration for production-grade web servers, reverse proxies, load balancing, SSL termination, caching, and API gateway patterns with advanced performance tuning.
When to Use
- Reverse proxy setup
- Load balancing between backend services
- SSL/TLS termination
- HTTP/2 and gRPC support
- Caching and compression
- Rate limiting and DDoS protection
- URL rewriting and routing
- API gateway functionality
Quick Start
Minimal working example:
# /etc/nginx/nginx.conf
user nginx;
worker_processes auto;
worker_rlimit_nofile 65535;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 4096;
use epoll;
multi_accept on;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
Sponsors
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- Backend & APIs, AI & Agent Building, Debugging
- First seen
- Apr 16, 2026
More from aj-geddes/useful-ai-prompts
All 258- Android Kotlin Development1.5K
- Flask Api Development1.4K
- Wireframe Prototyping1.4K
- Markdown Documentation1.3K
- Terraform Infrastructure1.2K
- Responsive Web Design1.1K
- Penetration Testing1.1K
- Css Architecture969
- Api Contract Testing926
- Root Cause Analysis916
- Event Sourcing892
- Mobile First Design869
- Api Security Hardening868
- Mobile App Testing831
- Technical Specification811
- User Story Writing793
- Access Control Rbac763
- User Guide Creation762
- Kubernetes Deployment759
- Logging Best Practices742
- Visual Regression Testing731
- Flutter Development725
- E2e Testing Automation695
- Business Case Development683