Computer network notes (5)

Computer network notes

1. What is the principle of reverse proxy?

Reverse proxy: means that the proxy server accepts requests from the external network to the internal network server, then forwards the request to the internal network server, and returns the result obtained from the internal network server to the client requesting the external network.

The usual proxy server is only used for connection requests from the internal network to the external network. The client sends the HTTP request originally sent to the external network to the proxy server, and then the proxy server forwards the request to the external network server. When a server can access the server on the internal network on behalf of the external network, the server is called a reverse proxy server.

Insert picture description here

Second, the purpose of reverse proxy server

1. Act as a stand-in for a content server

The reverse proxy server, as a stand-in for the content server, aims to enhance the security of the server and resist possible malicious attacks.

2. As a load balancer for content servers

You can set up multiple reverse proxy servers for the content server, because the reverse proxy server has a cache function, so the network load of the content server can be greatly reduced.

to sum up

Advantages of reverse proxy server:

  • Improved safety
  • Relieved the network load pressure of the server
  • Saved IP address

Guess you like

Origin blog.csdn.net/wdhxs/article/details/113560591