← All tools

Nginx Config Generator

Generate nginx reverse proxy, static site, PHP-FPM, and HTTPS server configs with upstreams and rate limits — all locally in your browser.

This tool runs entirely in your browser. Your input is never uploaded.

Configuration
Templates fill the whole form; everything stays editable.
Quick templates
Global http options

Wrap output in events {} and http {} (main context). Off = conf.d server blocks only.

Rate limit zones (0)

No limit_req_zone defined.

Upstreams (0)

No upstreams. proxy_pass can point at a host:port directly.

Servers (1)
Root location /
Extra locations (0)

No extra locations yet.

nginx.conf

Fill in the form to generate an nginx config. Fatal errors hide the output until they are fixed.

Nginx Config Generator

Build nginx server, upstream, and limit_req_zone blocks from a form, with an optional full nginx.conf wrapper (events/http context). Supports reverse proxy with WebSocket and forwarded headers, static sites with SPA fallback and asset caching, PHP-FPM with FastCGI, and domain redirects. Toggle HTTPS with modern TLS, HSTS, and an automatic 80→443 redirect server. Multiple upstreams, members, and locations per server — every directive is validated and the output updates live. Start from one of the quick templates (reverse proxy, HTTPS, static SPA, PHP-FPM, WebSocket, load balancing, redirect) and adjust from there.

This tool runs entirely in your browser.

Related tools

A growing collection of browser-only tools. Your data stays on your device whenever the browser can handle the task.