🌐

Nginx Config

Generate Nginx server blocks. This tool runs 100% locally in your browser.

Advertisement
Ad Slot: tool-top
server {
    listen 80;
    server_name online-tools.top www.online-tools.top;

    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_cache_bypass $http_upgrade;
    }
}
Advertisement
Ad Slot: tool-bottom

What is Nginx Config?

Generate Nginx server block configurations for your web sites. Handle static files, reverse proxies, SSL/TLS, and Gzip compression settings visually. Stop copying and pasting old configs with security vulnerabilities.

When to Use This Tool

  • 1Setting up a reverse proxy
  • 2Hosting static websites
  • 3Configuring SSL redirect

Examples

Input
Domain: example.com, Proxy: 3000
Result
server { listen 80; server_name example.com; ... }

Frequently Asked Questions

Does it handle SSL?

It generates the config for SSL (listen 443), but you still need to obtain certificates (e.g., using Certbot).

Privacy & Security

Privacy is our priority. Unlike many other online tools, ToolsHub doesn't upload your data to any server. Whether you're processing sensitive text, calculating financial data, or generating passwords, everything stays in your browser.