Nginx

BSD-2-Clause
Platform
Docker Linux Windows macOS
Licence
BSD-2-Clause Open source
Website
nginx.org/
Nginx

Overview

nginx is a high-performance, open-source web server, reverse proxy, and IMAP/POP3/SMTP mail proxy. Originally written by Igor Sysoev in 2004 to solve the C10K problem, it uses an asynchronous, event-driven architecture that serves thousands of concurrent connections with a small and predictable memory footprint. Today it powers a large share of the busiest sites on the internet and is a common front end for application servers, container platforms, and CDNs.

Key Features

  • Event-driven architecture: Asynchronous, non-blocking request handling serves very high concurrency with low memory use.
  • Reverse proxy and load balancing: Proxies HTTP, FastCGI, uWSGI, SCGI and gRPC backends with round-robin, least-conn, IP-hash and health-checked upstreams.
  • TLS/SSL termination: TLS 1.2/1.3 termination, SNI, OCSP stapling, session resumption and HTTP/2 and HTTP/3 (QUIC) support.
  • Static content and caching: Highly optimised static file serving plus a proxy cache for offloading upstream servers.
  • Rich configuration DSL: Declarative configuration with server blocks, locations, rewrites, maps and variables.
  • Mail proxy: Built-in proxying for IMAP, POP3 and SMTP with external authentication.
  • Modular and extensible: Dynamic modules plus a large third-party ecosystem, including the OpenResty Lua platform.

Why Use It

nginx delivers exceptional throughput on modest hardware and has been battle-tested at internet scale for two decades. Its single configuration model handles static hosting, TLS, compression, caching and reverse proxying in one process, which removes the need to stack several separate services in front of an application. The trade-off is that the configuration syntax is its own DSL — powerful, but it takes time to learn.

Use Cases

  • Serving static websites and single-page applications at high volume.
  • Acting as a reverse proxy and TLS terminator in front of application servers.
  • Load balancing across multiple backend instances or containers.
  • Caching and compressing responses at the edge to reduce backend load.
  • Streaming media and large file delivery.
  • Proxying mail protocols (IMAP, POP3, SMTP).

a permissive free software licence. Note that the commercial nginx Plus product and NGINX One are proprietary and separately licensed.

Explore More Categories

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.