What language is nginx written in?
nginx is written in C language, but the Nginx configuration file is written in a syntax similar to Shell, but it can be said to be a dedicated language, limited to Nginx configuration files. For example, statements such as location, http, server, etc. are all hard-coded in advance. Its underlying language is C language, but it is not involved in the configuration file.
Nginx introduction:
Nginx (engine x) is a high-performance HTTP and reverse proxy web server, and also provides IMAP/POP3/SMTP services. Nginx was developed by Igor Sesoev for Russia's second most visited Rambler.ru site (Russian: Рамблер). The first public version 0.1.0 was released on October 4, 2004.
It releases source code under a BSD-like license and is known for its stability, rich feature set, sample configuration files, and low system resource consumption. On June 1, 2011, nginx 1.0.4 was released.
Nginx is a lightweight web server/reverse proxy server and email (IMAP/POP3) proxy server, released under the BSD-like protocol. Its characteristics are that it occupies less memory and has strong concurrency capabilities. In fact, nginx’s concurrency capabilities do perform better among web servers of the same type. Users of nginx websites in mainland China include: Baidu, JD.com, Sina, NetEase, Tencent, Taobao, etc.
For more Nginx related technical articles, please visit the Nginx usage tutorial column to learn!
The above is the detailed content of What is nginx written in?. For more information, please follow other related articles on the PHP Chinese website!