Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cyber Security Cards › Comparison Cards

Nginx vs Apache

Comparison card: Nginx vs Apache. Easy English, with a real example. Scan the QR for the full lesson.

Comparison card: Nginx vs Apache. Easy English, with a real example. Scan the QR for the full lesson.
Nginx vs Apache · Download PNG
Read card text

What this card says

What each one is

Both are web servers (they serve web pages).
Nginx is light and event-based.
Apache is older and very flexible with modules.

How they differ

Nginx handles many connections with less memory.
Apache has per-folder config (.htaccess) that Nginx does not.

Example

Nginx is often used in front as a fast reverse proxy.
Apache is common for classic PHP sites.

Use when

Many static requests: Nginx.
Need .htaccess or old modules: Apache.

Learn more in the lesson: 7.1 What a Web Server Does: Nginx vs Apache

See all Ravi Sir's Cyber Security Cards