What is the meaning of nginx reverse proxy

 

Forward proxy proxy client, reverse proxy proxy server.

The meaning of nginx reverse proxy: it is the nginx proxy service that proxies the internal server for external services.

The reverse nature of nginx reverse proxy is that when Nginx is used as a load balancing service, Nginx can directly support Rails and PHP programs internally for external services, or as an HTTP proxy service for external services.

The direction of the reverse proxy is opposite to the forward proxy. It sends requests to the internal server on behalf of external network users, that is, receives connection requests from users on the Internet, and forwards these requests to the server on the internal network, and then obtains from the internal server The response is returned to the client requesting connection on the Internet.

Reverse effect: For users, the reverse proxy server is equivalent to the target server, that is, the user can directly access the reverse proxy server to obtain the resources of the target server. The user does not need to know the address of the target server, as the front-end processor of the Web server can reduce the load of the network and the server and improve the access efficiency.

 

 

3. Nignx forward proxy and reverse proxy

 

 

 

Guess you like

Origin blog.csdn.net/suixinsuoyu12519/article/details/112281667