Nginx Config Generator
Generate production-ready config files for reverse proxy, SSL, and static serving.
Server details
Proxy / Static
Security / SSL
Performance
Domain Name(s) *
Listen Port
Mode
Reverse Proxy
Static Site
Load Balancer
Proxy Pass URL
Path
Document Root
Index File
Fallback to index.html (SPA Routing)
Upstream Name
Load Balancing Method
Round Robin (Default)
Least Connections
IP Hash
Upstream Servers (one per line)
10.0.0.1:8080 10.0.0.2:8080
Enable SSL (Certbot / Let's Encrypt structure)
SSL Certificate Path
SSL Key Path
HTTP/2 Support
Redirect HTTP to HTTPS
Add Security Headers (HSTS, X-Frame-Options, etc)
Enable Rate Limiting (Basic)
Enable GZIP Compression
Add expire headers for static assets
Increase client_max_body_size (File uploads)
Max Body Size
nginx.conf
Copy
Download