Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What is Nginx


May 23, 2021 Nginx Getting started


Table of contents


What is Nginx

Nginx is a very lightweight HTTP server written by the Russians, Nginx, which is pronounced "engine X" and is a high-performance HTTP and reverse proxy server, as well as an IMAP/POP3/SMTP proxy server. N ginx was developed by Russian Igor Sysoev for the second most visited Rambler.ru site in Russia, where it has been running for more than two and a half years. Igor Sysoev uses bSD-based licensing when building projects.

English home page: http://nginx.net.

By 2013, many domestic websites were using Nginx as a Web server, such as Sina, 163, Tencent, Discuz, Bean Petal, etc. According to netcraft, Nginx ranks 3rd, accounting for about 15% of the total (see: http://news.netcraft.com/archives/category/web-server-survey/). )

Nginx is written in an event-driven manner, so it has very good performance and is also a very efficient reverse proxy, load balancing. It has performance that matches Lighttpd, there are no memory leaks with Lighttpd, and Lighttpd's mod_proxy has some problems and has not been updated for a long time.

Igor now publishes the source code as a class BSD license. N ginx is known for its stability, rich module library, flexible configuration and low system resource consumption. T he industry agrees that it is a lightweight replacement for Apache 2.2 plus mod_proxy_balancer, not only because it responds very quickly to static pages, but also because it has nearly two-thirds of Apache's modules. Support for proxy and rewrite modules is thorough, and mod_fcgi, ssl, and vhosts are supported for front-end HTTP responses for mongrel clusters.