Nginx VS Apache

Compare Nginx vs Apache and see what are their differences.

Nginx

An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html (by nginx)
Web

Apache

Mirror of Apache HTTP Server. Issues: http://issues.apache.org (by apache)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Nginx Apache
97 82
20,165 3,420
1.2% 1.3%
8.9 9.3
2 days ago 2 days ago
C C
- Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Nginx

Posts with mentions or reviews of Nginx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-04.

Apache

Posts with mentions or reviews of Apache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-20.

What are some alternatives?

When comparing Nginx and Apache you can also consider the following projects:

Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Squid - Squid Web Proxy Cache

envoy - Cloud-native high-performance edge/middle/service proxy

HAProxy - HAProxy documentation

nestjs-monorepo-microservices-proxy - Example of how to implement a Nestjs monorepo with no shared folder

MySQL - MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.

Hiawatha - Hiawatha is an open source webserver with security, easy to use and lightweight as the three key features. Hiawatha supports among others (Fast)CGI, IPv6, URL rewriting and reverse proxy. It has security features no other webserver has, like blocking SQL injections, XSS and CSRF attacks and exploit attempts. The built-in monitoring tool makes it perfect for large scale deployments.

Cherokee - Cherokee Web Server

YARP - A toolkit for developing high-performance HTTP reverse proxy applications.

Lighttpd - lighttpd2 on github for easier collaboration - main repo still on lighttpd.net