Build a reusable site config or a complete nginx.conf. Settings are grouped by context so upstreams, cache zones, rate limits, and server directives are emitted where Nginx expects them.
Open-source Nginx uses passive health checks through max_fails and fail_timeout. Active upstream checks require Nginx Plus or a third-party module.
The primary location / comes from General. Add API, admin, static, redirect, or exact-response locations here.
more_clear_headers requires the headers-more module; the generator cannot install it for you.
Brotli output assumes the optional ngx_brotli module is installed and loaded.
These process and events settings appear only in Full nginx.conf. Switch the output format on General to include them.
HTTP core settings are intentionally omitted from a site config because the parent http {} block usually defines them already. Switch to Full nginx.conf to include them.
Custom directives are intentionally passed through. Review their context and run nginx -t before reload.
The builder separates HTTP-level objects—upstreams, WebSocket maps, cache zones, and rate-limit zones—from server and location directives. That makes advanced combinations much safer than assembling independent snippets.
Generated output is a production-oriented starting point, not a substitute for application-specific review. Module availability, filesystem permissions, TLS certificate paths, cache bypass rules, and your installed Nginx version still matter. Always run nginx -t before reload.