100% Free • Production-Ready

Nginx Config Generator
Made Simple

Generate production-ready Nginx configuration files instantly with SSL, reverse proxy, caching, and security headers.Perfect for Node.js, Python, PHP, and static sites.

SSL Support
Reverse Proxy
Custom Headers
Caching Rules

Quick Presets

Basic Settings

SSL Configuration

Options

Custom Headers

Additional Locations

Generated Configuration

server {
    listen 80;
    server_name example.com;

    client_max_body_size 10M;

    gzip on;
    gzip_vary on;
    gzip_min_length 1024;
    gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml+rss application/json;

    location / {
        proxy_pass http://localhost:3000;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        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_cache_bypass $http_upgrade;
    }

    location ~* \.(jpg|jpeg|png|gif|ico|css|js|svg|woff|woff2|ttf|eot)$ {
        expires 1y;
        add_header Cache-Control "public, immutable";
    }
}

Powerful Features

Everything you need to configure Nginx for production

Reverse Proxy

Configure proxy pass to your backend applications with automatic headers and WebSocket support.

SSL / HTTPS

Enable SSL with TLS 1.2/1.3, configure certificates, and add security headers automatically.

Performance

Built-in gzip compression, static file caching, and browser cache control for optimal performance.

Deploy Your Nginx Config

Use Server Compass to deploy your applications with automatically configured Nginx reverse proxy.