nginx Server Block Builder

Stop copy-pasting nginx configs from old projects. Fill in domain, root, ports, and proxy target; this builder outputs a clean server block with the right directives — TLS configured, gzip enabled, security headers, sane defaults.

Generated config

How to use the nginx Server Block Builder

Pick a preset and customize the form. The generated config goes in /etc/nginx/sites-available/yourdomain.conf, then symlink to sites-enabled and sudo nginx -t && sudo systemctl reload nginx.