Home >Operation and Maintenance >Nginx >What are the benefits of Nginx reverse proxy?
Nginx is a web server with an asynchronous framework. It can also be used as a reverse proxy, load balancer and HTTP cache. The following article will introduce the reverse proxy and understand the benefits of Nginx reverse proxy. I hope it will be useful to you. Helps.
What is a reverse proxy?
The reverse proxy (Reverse Proxy) method refers to using a proxy server to accept Internet traffic. The connection request is then forwarded to the server on the internal network, and the result obtained from the server is returned to the client requesting the connection on the Internet. At this time, the proxy server appears as a reverse proxy server to the outside world.
Benefits of reverse proxy
1. It protects the real web server. The web server is invisible to the outside world. Only the reverse proxy server can be seen by the external network. There is no real data on the reverse proxy server, therefore, the resource security of the web server is guaranteed.
2. Based on reverse proxy, the method of separation of dynamic and static resources and load balancing is produced, which reduces the burden on the web server and speeds up access to the website (separation of dynamic and static resources and load balancing will be discussed later)
3. It saves limited IP address resources. All websites in the enterprise share an IP address registered in the Internet. These servers are assigned private addresses and use virtual hosts to provide external services;
The above is the detailed content of What are the benefits of Nginx reverse proxy?. For more information, please follow other related articles on the PHP Chinese website!