selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

NGINX logo

Self-host NGINX

release-1.31.8

High-performance web server, reverse proxy, load balancer

ReleaseOpen SourceBSD-2-Clause
Updated2 weeks ago
LanguageC
Setup difficultyModerate
Stars
32 088
Port
80 (HTTP web server)
Docker
nginx
Install with Linux

What is NGINX?

NGINX (pronounced "engine x") is a high-performance web server and reverse proxy originally written by Igor Sysoev. It uses an event-driven, asynchronous architecture with a master process and multiple worker processes to handle thousands of concurrent connections efficiently. NGINX serves as a web server for static content, a reverse proxy for application servers, a load balancer distributing traffic across backends, a content cache for CDN-like functionality, and a mail proxy for IMAP/POP3/SMTP. It supports modern protocols including HTTP/2, HTTP/3 (QUIC), and TLS encryption. NGINX is released under the 2-clause BSD license and offers official binary packages for major Linux distributions, Windows, and FreeBSD, plus an official Docker image. Enterprise distributions and commercial support are available from F5, Inc.

NGINX alternatives

Should you self-host NGINX?

NGINX scores 85/100 on selfhost.directory (how scoring works) and ranks #2 of 12 in Web Servers. It has 32 088 GitHub stars, +284 in the last 30 days.

It shipped 21 stable releases in the past year. The latest, release-1.31.8, came out on 21 October 2026. New versions land roughly every 8 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is BSD-2-Clause-licensed and written mostly in C.

Its closest alternative on selfhost.directory is Caddy (89/100, 78 935 stars). It scores higher overall, so compare the two before you pick. See NGINX vs Caddy side by side.

Features

  • Configuration templating
  • Content Caching
  • Dynamic Modules
  • HTTP/2 Support
  • HTTP/3 (QUIC) Support
  • Load Balancing
  • Mail Proxy
  • Rate Limiting
  • Reverse Proxy
  • TCP/UDP Proxy
  • TLS/SSL termination
  • Web Server

NGINX README

NGINX Banner

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Community Forum License Code of Conduct

NGINX (pronounced "engine x" or "en-jin-eks") is the world's most popular Web Server, high performance Load Balancer, Reverse Proxy, API Gateway and Content Cache.

NGINX is free and open source software, distributed under the terms of a simplified 2-clause BSD-like license.

How to install NGINX

Install NGINX with Linux

Follow these steps to download, verify, and install NGINX binaries using the package manager appropriate for your Linux distribution.

Official packages available for major distributions

How to configure NGINX

  • worker_processesautoNumber of worker processes

    values: number or 'auto'

  • listen80Port and address to listen on

    values: port number or address:port

  • server_nameServer names this block responds to

    values: domain names, wildcards, regex

  • rootRoot directory for requests

    values: file system path

  • proxy_passProxied server address

    values: protocol://address:port

NGINX releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Web Servers

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…