Generate secure, production-grade Nginx server blocks. Includes reverse proxy setups, WebSockets, PHP-FPM, Brotli/Gzip compression, security headers, and Let's Encrypt SSL paths.
Runs entirely in your browser
Nginx configuration is powerful but its syntax is unforgiving, and a small mistake in a server block can break a site or leave it insecure. This generator builds production-grade Nginx configurations from your choices: reverse proxies, static sites, PHP-FPM, WebSockets, compression, security headers, HTTP/2 and Let’s Encrypt SSL paths.
Rather than assembling directives from scattered examples, you pick what you need and get a coherent server block with sensible, secure defaults — including the security headers and TLS settings that are easy to omit. That reduces both the trial-and-error of getting Nginx to start and the risk of shipping an insecure config.
It runs in your browser, so your configuration is not uploaded. Use it to set up a new site, add a reverse proxy in front of an app, or generate a hardened baseline you then adapt.
TechToolsHQ is an independent, reader-supported tech platform. If this free tool saved you time, solved a problem, or helped your workflow, consider supporting our work. Your support helps us keep our utilities 100% free, private, and ad-free for everyone.