Nginx Config Generator
Generate Nginx configuration blocks for common tasks like redirects, HTTPS and proxying.
Nginx config without the reference open
Nginx configuration is powerful but precise, and remembering the exact directives for a redirect, forcing HTTPS, serving static files or proxying to a backend means keeping the docs open. This generates correct configuration blocks for the common tasks, so you get working directives to drop into your server config rather than assembling them from memory.
Choose the task and the Nginx config block is generated.
Generate, then test before reloading
Nginx is unforgiving of a syntax error — a bad config can stop the server serving anything — so two habits protect you. Test the configuration before applying it, using Nginx's built-in config test, and reload rather than restart so a mistake fails safely. Note too that Nginx does not use .htaccess-style per-directory files the way Apache does; everything lives in the central config, which is why generating correct blocks for it is worth doing carefully. Used with a test step, it is the quick way to add redirects, HTTPS and proxying.
Common questions
What tasks can it generate config for?
Common ones — redirects, forcing HTTPS, serving static files, and proxying to a backend.
How do I apply it safely?
Test the configuration with Nginx's built-in check before reloading, since a syntax error can stop the server.
Is anything uploaded?
No. The config is generated in your browser.