Classification and application scope of HTTP proxy

With the increasing use of HTTP proxy, more people understand the service of HTTP proxy. But do you know? HTTP proxy is divided into forward proxy and reverse proxy. Today, Tianqi IP will take you to learn more about it~
Insert picture description here

​The forward proxy is a server located 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 return the obtained content to the client. The client must make some special settings to use the forward proxy.

Reverse proxy is just the opposite, it is like the original server to the client, and the client does not need to make any special settings. The client sends an ordinary request to the content in the name-space of the reverse proxy, and then the reverse proxy will determine where to forward the request (original server) and return the obtained content to the client, just like these The content is originally its own.

So what is the difference between the use of forward proxy and reverse proxy?

The common use of forward proxy is to provide a way to browse the Internet for LAN clients in the firewall. The forward proxy can also use the buffer feature to reduce the network usage rate and conduct online behavior management, and record the user's access records.

The main purpose of the reverse proxy is to ensure the security of the internal network. You can use the reverse proxy to provide the WAF function to prevent web attacks. The second is load balancing, which optimizes the load of the website through a reverse proxy server.

Guess you like

Origin blog.csdn.net/tianqiIP/article/details/112268353