← All tools

🐧 Nginx Config Snippet Builder

Select a use case, configure optional parameters, and instantly generate an Nginx config snippet that you can copy and paste into your server block.

server {
    listen 80;
    server_name example.com;
    root /var/www/html;

    location / {
        try_files \$uri \$uri/ =404;
    }
}

Privacy Everything runs in your browser. Nothing you enter is uploaded.