Book a call Free rebuild

NGINX

August 16, 2022 Updated November 16, 2026 2 min read

Hosting glossaryNGINX is a fast, open-source web server, also widely used as a reverse proxy, load balancer, and cache.

NGINX (pronounced "engine-x") is open-source web server software, first released publicly in 2004 by Igor Sysoev to handle large numbers of simultaneous connections efficiently. Today it is one of the most widely used web servers, and it is just as often deployed in front of other software: as a reverse proxy, a load balancer, a cache, or the place where HTTPS connections are handled.

How it works

NGINX runs one master process, which reads the configuration, and a small number of worker processes, typically one per CPU core. Each worker handles thousands of connections at once using an event-driven, non-blocking loop: instead of dedicating a process or thread to each visitor and waiting on slow clients, it moves on to whatever connection is ready next. That keeps memory use low and steady under heavy traffic, which is why NGINX became the standard choice for busy sites and for serving static files.

What it is used for

  • Web server: serving HTML, images, CSS, and JavaScript directly from disk.
  • Reverse proxy: receiving requests and passing them to application servers, such as PHP-FPM, Node.js, or Python apps, then returning their responses. See proxy server.
  • Load balancer: spreading requests across several back-end servers.
  • Cache: storing generated pages and serving them without touching the application, through its proxy and FastCGI caching.
  • TLS termination and HTTP/2: handling HTTPS for the applications behind it.

NGINX and WordPress

NGINX does not run PHP itself. It passes PHP requests to PHP-FPM over FastCGI (a faster descendant of CGI) and serves static files on its own. Many managed WordPress hosts use it, often alongside Apache or in place of it.

The biggest practical difference from Apache is that NGINX ignores .htaccess files. All rules live in the server configuration, so pretty permalinks need a line like this rather than mod_rewrite rules:

location / {
    try_files $uri $uri/ /index.php?$args;
}

It means: serve the file if it exists, then the folder, and otherwise hand the request to WordPress. The same applies to plugins that write rules to .htaccess, as many security, caching, and redirect plugins do. On NGINX those rules have no effect, and someone has to add equivalents to the server configuration; on managed hosts that usually means asking support. Changes to NGINX configuration also need a reload to take effect, unlike .htaccess, which is read on every request.

NGINX and NGINX Plus

The open-source version is free and covers everything most sites need. NGINX Plus is a commercial edition from F5, which acquired NGINX, Inc. in 2019; it adds features such as active health checks, a live monitoring dashboard, and configuration changes through an API, plus commercial support.

Source: nginx.org documentation.

HostList

The hosting directory with no paid rankings.

Compare 30,000+ web hosts and MSPs across 120+ countries, ranked by HRI, an independent 0 to 100 rating built from verified data. Find your perfect web host.