Nginx Config Generator
Generate production-ready Nginx server blocks
Configuration
Server Type
Type
Reverse Proxy
Static Site
Single Page App (SPA)
PHP (FastCGI)
Redirect
Load Balancer
Domain & Ports
Server Name (domain)
Listen Port
Proxy Pass Port
Proxy Pass Host
Root Directory
Redirect URL
Redirect Code
301 Permanent
302 Temporary
307 Temporary (preserve method)
308 Permanent (preserve method)
Upstream Servers
+ Add Server
Load Balancing Method
Round Robin (default)
Least Connections
IP Hash
Random
SSL / TLS
Enable SSL
HTTP โ HTTPS Redirect
HSTS
HTTP/2
SSL Certificate
SSL Key
Features
Gzip
Security Headers
Rate Limiting
Static Asset Caching
Access Log
Error Log
WebSocket Support
CORS Headers
Client Max Body Size
Rate (req/sec)
Burst
CORS Allowed Origin
Max Body Size
Custom Location Blocks
optional
Generated Config
๐ Copy
โฌ Download