Skip to main content
wp-config.org

Server configuration

Nginx config generator for Ubuntu

Create Nginx configurations you can edit for WordPress, WooCommerce, static sites and reverse proxies, with Ubuntu installation commands.

  • Ubuntu 24.04 and 26.04
  • HTTP/3 and Brotli options
  • WooCommerce cache rules

Free, no sign-up. It runs in your browser, so nothing you type is sent to this site.

Nothing you enter leaves your browser.

This tool runs in your browser and needs JavaScript. Turn JavaScript on and reload the page.

Nginx

What you can do

  • WordPress, WooCommerce, static site and reverse proxy presets

  • TLS, HTTP/2 and optional HTTP/3

  • Gzip and optional Brotli compression

  • Protection for sensitive files and cache controls

  • File previews and a downloadable configuration bundle

How to use it

  1. Describe your server

    Choose the Ubuntu release, package source and server profile that match the server you will set up.

  2. Add your sites

    Enter the domains, document roots, PHP socket and certificate paths, then review the security and caching options.

  3. Test before you reload

    Read the installation notes, back up the existing files and run nginx -t on the real server before you reload Nginx.

Plan Nginx routing, security and caching together

This free Nginx config generator targets Ubuntu 24.04 LTS and 26.04 LTS. Set up one or more sites, choose what each one runs and review the server blocks and supporting files it writes. The WordPress and WooCommerce options include permalink routing and cache exclusions for logins, carts and checkouts.

Know the limits

HTTP/3 needs an Nginx build with QUIC support and a network that lets QUIC through. Brotli needs compatible modules; choosing it here does not install them. Certificates, file paths and upstream services must already exist on your server. Check the caching rules against your real login, cart, checkout and account pages before you turn them on. The configuration is generated in your browser, and it cannot prove a speed gain.

Related tools

  • wp-config.php

    Build database, security and WordPress settings.

  • PHP extensions

    Choose PHP extensions and runtime settings.

  • Redis

    Prepare WordPress object cache configuration.

  • DNS lookup

    Review DNS records and email policies.

Host WordPress on StackMattic

StackMattic sponsors these free tools. If you would rather not set up and look after the server yourself, StackMattic runs managed WordPress and server hosting.