Article Title: Squid reverse proxy: accelerating Web applications. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The company's servers need to be migrated. The distance from Cabinet A to Cabinet B is 10 meters. Haha. Very close, although very close, but the IP segment is different. Therefore, you must switch between web, dns, mail, and mysql. Here, we will first write some preparations before the switchover. squid reverse proxy is one of them.
1. Concept of reverse proxy
What is reverse proxy? In fact, reverse proxy is usually referred to as WEB Server acceleration. It is a high-speed WEB buffer server (namely: WEB reverse proxy server) to reduce the load of the actual WEB server. Shows the typical structure:
Web Server acceleration (reverse proxy) provides acceleration for Web servers. It acts as a proxy Cache, but not for browser users, but for one or more specific Web servers (this is also the origin of the reverse proxy name ). Implement Reverse Proxy (as shown in) by placing the Reverse Proxy Cache Device on one or more Web server front ends. When an Internet user accesses a WEB Server, the resolved IP address is the IP address of the Reverse Proxy Server, not the IP address of the original Web Server. In this case, the Reverse Proxy Server device acts as the Web Server, the browser can connect to the server without directly connecting to the Web server. Therefore, a large amount of Web Service workload is uninstalled to the reverse proxy service. This not only prevents security risks caused by direct communication between external network hosts and web servers, but also reduces the burden on web servers and improves the access speed.
[1] [2] [3] Next page