17 alternatives to NGINX

NGINX is a Web Servers product. The community recommends 17 alternatives: 15 open source, 15 self-hostable and 15 free to use. They are ranked by community votes, ratings and favorites, with the key differences from NGINX highlighted.

Last updated:

NGINX logo

About NGINX

HTTP and reverse proxy server, mail proxy server, and generic TCP/UDP proxy server.

Open source · BSD-2-Clause
Self-hostable

Quick picks

AH

Best open-source pick

Apache HTTP Server

Open source, Apache-2.0 license

AH

Best self-hosted pick

Apache HTTP Server

Run it on your own server

AH

Best free pick

Apache HTTP Server

Free to use

All alternatives

  1. 0
    1.

    Apache HTTP Server

    Web Servers

    Secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.

    Open source · Apache-2.0
    Self-hostable
  2. 0
    2.

    OpenResty Manager

    Reverse Proxy

    A simple yet powerful OpenResty management interface that supports reverse proxy, access control, HTTP flood protection, and more

    Compared with NGINX

    • − Closed source (NGINX is open source)
    • − Not self-hostable (NGINX is)
  3. 0
    3.

    Caddy

    Web Servers

    Powerful, enterprise-ready, open source web server with automatic HTTPS.

    Open source · Apache-2.0
    Self-hostable
  4. 0
    4.

    go-doxy

    Web Servers

    Lightweight, simple, and performant reverse proxy with WebUI, Docker integration, automatic shutdown/startup for container based on traffic.

    Open source · MIT
    Self-hostable
  5. 0
    5.

    HAProxy

    Web Servers

    Very fast and reliable reverse-proxy offering high availability, load balancing, and proxying for TCP and HTTP-based applications.

    Open source · GPL-2.0
    Self-hostable
  6. 0
    6.

    Traefik

    Web Servers

    A modern HTTP reverse proxy and load balancer that simplifies microservice deployment, with automatic service discovery and SSL certificate management

    Open source · MIT
    Self-hostable
  7. 0
    7.

    Lighttpd

    Web Servers

    Secure, fast, compliant, and very flexible web server that has been optimized for high-performance environments.

    Open source · BSD-3-Clause
    Self-hostable
  8. 0
    8.

    Varnish

    Web Servers

    Web application accelerator/caching HTTP reverse proxy.

    Compared with NGINX

    • − Closed source (NGINX is open source)
    • − Not self-hostable (NGINX is)
  9. 0
    9.

    Zoraxy

    Web Servers

    General purpose HTTP reverse proxy and forwarding tool.

    Open source · AGPL-3.0
    Self-hostable
  10. 0
    10.

    BunkerWeb

    Web Servers

    Next-gen Web Application Firewall (WAF) that will protect your web services.

    Open source · AGPL-3.0
    Self-hostable
  11. 0
    11.

    Tinyproxy

    Proxy

    Light-weight HTTP/HTTPS proxy daemon.

    Open source · GPL-2.0
    Self-hostable
  12. 0

    Nginx webserver and reverse proxy with PHP support, built-in Certbot (Let's Encrypt) client and fail2ban integration.

    Open source · GPL-3.0
    Self-hostable
  13. 0
    13.

    Pomerium

    Web Servers

    An identity-aware reverse proxy, successor to now obsolete oauth_proxy. It inserts an OAuth step before proxying your request to the backend, so that you can safely expose your self-hosted websites to public Internet.

    Open source · Apache-2.0
    Self-hostable
  14. 0
    14.

    Squid

    Proxy

    Caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages.

    Open source · GPL-2.0
    Self-hostable
  15. 0
    15.

    g3proxy

    Proxy

    Enterprise-oriented Generic Proxy Solutions. Maintenance mode now, please switch to use [VEY](https://github.com/VEY-OSS/vey) for new development efforts

    Open source · Apache-2.0
    Self-hostable
  16. 0
    16.

    SafeLine

    Proxy

    SafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits.

    Open source · GPL-3.0
    Self-hostable
  17. 0
    17.

    Vinyl Cache

    Proxy

    Web application accelerator/caching HTTP reverse proxy (formerly Varnish).

    Open source · BSD-2-Clause
    Self-hostable

NGINX vs. alternatives

ServiceOpen sourceSelf-hostedLicensePricingPlatformsRatingVotes
NGINX
Current
YesYesBSD-2-Clause————
Apache HTTP ServerYesYesApache-2.0———0
OpenResty ManagerNoNo————0
CaddyYesYesApache-2.0———0
go-doxyYesYesMIT———0
HAProxyYesYesGPL-2.0———0
TraefikYesYesMIT———0
LighttpdYesYesBSD-3-Clause———0
VarnishNoNo————0
ZoraxyYesYesAGPL-3.0———0
BunkerWebYesYesAGPL-3.0———0
TinyproxyYesYesGPL-2.0———0
SWAG (Secure Web Application Gateway)YesYesGPL-3.0———0
PomeriumYesYesApache-2.0———0
SquidYesYesGPL-2.0———0
g3proxyYesYesApache-2.0———0
SafeLineYesYesGPL-3.0———0
Vinyl CacheYesYesBSD-2-Clause———0

FAQ

What is the best alternative to NGINX?

Community-recommended alternatives to NGINX include Apache HTTP Server, OpenResty Manager, Caddy, go-doxy, HAProxy, and Traefik. Compare open source, self-hosting, pricing and platforms to choose.

Is there a free alternative to NGINX?

Yes. Apache HTTP Server, Caddy, go-doxy, HAProxy, Traefik, and Lighttpd can be used for free; the open-source, self-hostable ones can be run on your own server at no cost.

Is there an open-source alternative to NGINX?

Yes. Open-source alternatives include Apache HTTP Server, Caddy, go-doxy, HAProxy, Traefik, and Lighttpd.

Can I self-host an alternative to NGINX?

Yes. Apache HTTP Server, Caddy, go-doxy, HAProxy, Traefik, and Lighttpd can run on your own server, so you keep control of your data.

Services in the same category that haven't been suggested as NGINX alternatives yet. If one fits, add it as an alternative.

  • Algernon logo
    Algernon

    Small self-contained pure-Go web server with Lua, Markdown, HTTP/2, QUIC, Redis and PostgreSQL support.

    Open source
    Self-hostable
  • Static Web Server logo
    Static Web Server

    Cross-platform, high-performance, and asynchronous web server for static file serving.

    Open source
    Self-hostable
  • Jauth logo
    Jauth

    Lightweight SSL/TLS reverse proxy with authorization (via Telegram and SSH) for self-hosted apps.

    Open source
    Self-hostable

Know another NGINX alternative?

Once added, the community can vote and the best suggestions rise to the top.