← DevNest.io
Nginx Config Generator
DEV TOOL
Server Mode
Static Site
Reverse Proxy
PHP-FPM
Server Name (domain)
e.g. example.com or app.example.com
Document Root
Proxy Pass URL
Backend server URL
PHP-FPM Socket
SSL / TLS
Enable SSL/TLS
Certificate Path
Key Path
HTTP → HTTPS redirect
HSTS header
Performance
Gzip compression
Static file cache headers
Cache duration
1 day
7 days
30 days
1 year
Security
Security headers
Rate limiting
Rate (req/sec)
Burst
Deny .hidden files
Logging
Access Log
Error Log
Error Log Level
warn
error
crit
info
debug
Generated nginx.conf
Copy
Download