Web Design

nginx – hugely popular open source web server

nginx is a free, lightweight, open-source, very powerful and efficient web server and reverse proxy. It uses a scalable event-driven (asynchronous) architecture in contrast to a threaded or process-oriented approach to handling requests. This architecture uses small, but more importantly, predictable amounts of memory under load.

This server can be used as standalone HTTP server and as a reverse proxy server before some Apache or another big server to reduce load to backend servers by many concurrent HTTP-sessions.

nginx can also act as a POP3/IMAP mail proxy with SSL and TLS SNI support.

Key Features

  • Handling of static files, index files, and auto-indexing.
  • Accelerated reverse proxy with caching.
  • Load balancing.
  • Fault tolerance.
  • Accelerated support with caching of remote FastCGI servers; simple load balancing and fault tolerance.
  • IPv6 support.
  • Low memory usage and high concurrency.
  • Modular architecture. Filters include gzipping, byte ranges, chunked responses, XSLT, SSI, and image resizing filter. Multiple SSI inclusions within a single page can be processed in parallel if they are handled by FastCGI or proxied servers.
  • SSL and TLS SNI support.
  • Name-based and IP-based virtual servers.
  • Keep-alive and pipelined connections support.
  • Flexible configuration.
  • Reconfiguration and online upgrade without interruption of the client processing.
  • Access log formats, buffered log writing, and quick log rotation.
  • 3xx-5xx error codes redirection.
  • The rewrite module.
  • Access control based on client IP address and HTTP Basic authentication.
  • The PUT, DELETE, MKCOL, COPY and MOVE methods.
  • FLV streaming.
  • MP4 streaming.
  • Speed limitation.
  • Limitation of simultaneous connections or requests from one address.
  • Embedded Perl.
  • WebDAV.
  • Keepalive connections may be closed prematurely.
  • Support for keepalive connections to upstream servers.
  • Consolidation of multiple simultaneous requests to upstream servers if caching is used.
  • Support for multiple request and connection limits used simultaneously.
  • Reduced memory consumption in various edge cases like handling of long-lived requests.

Website: nginx.org
Support: Wiki, Code Repository
Developer: Nginx, Inc.
License: 2-clause BSD

nginx is written in C. Learn C with our recommended free books and free tutorials.

Web Caches
Varnish CacheWeb accelerator written with performance and flexibility in mind
nginxVery powerful and efficient web server and reverse proxy
Traffic ServerHigh-performance building block for cloud services
MemcachedDistributed memory object caching system
SquidHigh-performance proxy caching server and web cache daemon
nusterHigh-performance HTTP proxy cache server
ApacheHugely popular web server with caching modules

Related Software

Web Servers
nginxVery powerful and efficient web server powering the top web sites
ApacheLike nginx, Apache is a hugely popular web server
CaddyPowerful, enterprise-ready web server written in Go
LwanExperimental, scalable, high performance HTTP server
H2OOptimized HTTP/1.x, HTTP/2, HTTP/3 server
lighttpdFast, compliant and very flexible low memory footprint web server
FerronWeb server optimized for speed, security and efficiency
AngieScalable web server that was forked from nginx
AlgernonSmall self-contained pure-Go web server
Node.jsServer-side JavaScript environment for network applications
HiawathaWeb server that focuses on security
OpenLiteSpeedLightweight HTTP server
rwasaFull-featured high performance web server
devdLocal web server for developers
CherokeeFast, flexible and embeddable web server

Read our verdict in the software roundup.

Web Caches
Varnish CacheWeb accelerator written with performance and flexibility in mind
nginxVery powerful and efficient web server and reverse proxy
Traffic ServerHigh-performance building block for cloud services
MemcachedDistributed memory object caching system
SquidHigh-performance proxy caching server and web cache daemon
nusterHigh-performance HTTP proxy cache server
ApacheHugely popular web server with caching modules

Read our verdict in the software roundup.

Load Balancers
TraefikModern HTTP reverse proxy and load balancer
HAProxyHigh availability layer 7 load balancer and proxy server for TCP and HTTP
CiliumeBPF-based Networking, Observability, Security
nginxIncludes a L7 load balancer
RoadRunnerHigh-performance PHP application server, load balancer, and process manager
fabioFast, modern, zero-conf load balancing HTTP(S) and TCP router
BFEModern L7 load balancer
gobetweenModern and minimalistic L4 load balancer and reverse-proxy
SeesawLinux Virtual Server (LVS) based load balancing platform. L4 load balancer
nusterHigh-performance HTTP proxy cache server and HTTP/TCP load balancer
GLB DirectorSet of stateless L4 load balancer servers
BalanceGeneric TCP proxy with round robin load balancing and failover capabilities

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments