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.

Self-hosted alternatives to Nginx

Teams moving off Nginx usually want a web server or reverse proxy they can run on their own hardware, under an open-source licence, with the same core job of serving HTTP and proxying traffic. More about Nginx

--sort
7 projects· by score

Projects

Also in Web Servers

Not listed as Nginx alternatives, but they cover the same ground and are worth a look.

All 22 Web Servers projects

About these Nginx alternatives

The projects below cover that ground with different emphases. Caddy is a multi-platform HTTP/1-2-3 web server with automatic HTTPS. Apache HTTP Server is an extensible open-source web server that supports virtual hosts, reverse proxy, load balancing, TLS/SSL, HTTP/2, and dynamic module loading. HAProxy is a reverse proxy focused on high availability, load balancing, and proxying for TCP and HTTP-based applications. Lighttpd is a secure, fast, and flexible web server aimed at high-performance environments with low memory and CPU usage.

7 open-source, self-hosted alternatives to Nginx are listed here, ranked by popularity, maintenance and documentation.

Highest rated
Traefik (65 504 GitHub stars, MIT license, written in Go), followed by Apache HTTP Server and Zoraxy
Docker
4 of the top 7 ship an official Docker image
Easiest to set up
Zoraxy and Ferron
Recently updated
Zoraxy v3.3.5-rc5 on 2026-11-05

Nginx alternatives compared

ProjectLicenseLanguageStarsDockerSetupLatest releaseScore
TraefikMITGo65 504YesModeratev3.7.1786
Apache HTTP ServerApache-2.0———Advanced—74
ZoraxyAGPL-3.0HTML5 573YesEasyv3.3.5-rc568
HAProxyGPL-2.0——YesModerate—68
LighttpdBSD-3-Clause———Moderate—66
Vinyl CacheBSD-2-Clause———Advanced—65
FerronMITRust2 201YesEasy2.8.161