Home >Operation and Maintenance >Nginx >Forward proxy and reverse proxy
What is a 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 sends the content to the origin server. Hands off the request and returns the obtained content to the client. The client must make some special settings to use the forward proxy.
What is a reverse proxy?
The client sends a request to the reverse proxy server, but there are no resources required by the client on the proxy server. The proxy server will judge and forward to the original server to obtain the resources, and return the resources to the client; throughout the process, The client does not know that it is accessing a proxy server, but an original server
Summary: The forward proxy acts on the client; the reverse proxy acts on the server.
Recommended tutorial: nginx tutorial
The above is the detailed content of Forward proxy and reverse proxy. For more information, please follow other related articles on the PHP Chinese website!