Nginx Static Site Configuration

Serving a static site with Nginx is fast and resource-efficient. Our generator produces a server block with sensible cache-control headers, gzip support, and a proper 404 fallback.


Ready to generate your configuration? Use the tools in the navigation above to create a reverse proxy, static site, or PHP-FPM config in seconds.