Nginx Config Generator – Free Online Tool
Build nginx server blocks visually. Configure SSL, gzip, reverse proxy, SPA routing, and static asset caching.
Runs in your browser. Nothing you type or paste is uploaded, saved, or sent to an AI.
server {
listen 80;
server_name www.example.com;
return 301 $scheme://example.com$request_uri;
}
server {
listen 80;
server_name example.com;
root /var/www/html;
index index.html;
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml image/svg+xml;
gzip_min_length 1000;
location / {
try_files $uri $uri/ =404;
}
location ~* \.(js|css|png|jpg|jpeg|gif|svg|ico|woff2?)$ {
expires 30d;
add_header Cache-Control "public, no-transform";
}
}How to Use Nginx Config Generator
- 1
Set Domain
Enter your domain name.
- 2
Configure
Toggle SSL, gzip, proxy, SPA mode, and caching.
- 3
Download
Download or copy your nginx.conf.
Common Use Cases
- ✦Setting up web servers
- ✦Configuring reverse proxies
- ✦Deploying SPAs with proper routing
Share
Share a link to this tool. Results can be passed via URL parameters.
https://buildutilities.com/share/nginx-config-generatorFrequently Asked Questions
More DevOps Tools
Tools for Docker, Kubernetes, cron, and environment management.
🏷 Docker Tag Generator☸️ Kubernetes Name Generator📋 Environment Variable Parser🚫 .gitignore Generator🐳 Dockerfile Generator
View all DevOps tools