Nginx Config Generator

Generate nginx configuration snippets for reverse proxy, static files, SSL, SPA, load balancing, and more

All processing happens in your browser. No data is uploaded.
Offline Ready

Nginx Config Generator

Generate nginx configuration snippets for reverse proxy, static files, SSL, SPA, load balancing, and more

🔒All processing happens in your browser. No data is uploaded.
Configuration Type
Reverse Proxy
Server Settings
SSL / TLS
Enable SSL
Reverse Proxy Settings
Enable WebSocket support
Features
Enable Gzip compression
Enable access/error logging
Enable rate limiting
Security Headers
Enable security headers
Custom Location Blocks
Generated Nginx Config
server { listen 80; listen [::]:80; server_name example.com; client_max_body_size 10m; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; location / { proxy_pass http://localhost:3000; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_connect_timeout 60s; proxy_send_timeout 60s; proxy_read_timeout 60s; } }