Home > Article > Operation and Maintenance > What does nginx mean?
What does nginx mean?
1: What is nginx?
Nginx is a lightweight web server/reverse proxy server and email (IMAP/POP3) proxy server.
It is characterized by low memory usage and concurrency capabilities. Strong, in fact, the concurrency capability of nginx does 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.
2: What is the role of the nginx server?
1. Reverse proxy: The reverse proxy (Reverse Proxy) method refers to using a proxy server to accept connection requests on the Internet, and then Forward the request to the server on the internal network, and return the results obtained from the server to the client requesting a connection on the Internet. Simply put, the real server cannot be directly accessed by the external network, and access must be through a proxy.
2. Load balancing: Load balancing is also a commonly used function of Nginx. When there are two or more servers, requests are randomly distributed to designated servers for processing according to rules. Load balancing configuration generally requires simultaneous Configure a reverse proxy and jump to load balancing through the reverse proxy. Nginx currently supports 3 built-in load balancing strategies, as well as 2 commonly used third-party strategies.
3. HTTP server: Nginx itself is also a static resource server. When there are only static resources, you can use Nginx as the server. At the same time, it is also very popular now to separate static and dynamic resources, which can be achieved through Nginx
4. Forward proxy: It means a server between the client and the origin server. In order to obtain content from the origin server, the client sends a request to the proxy and specifies the target (origin server). , and then the proxy forwards the request to the origin server and returns the obtained content to the client.
For more Nginx related technical articles, please visit the Nginx usage tutorial column to learn!
The above is the detailed content of What does nginx mean?. For more information, please follow other related articles on the PHP Chinese website!