nginx reverse proxy

The difference between an LVS load balancing cluster and an Nginx reverse proxy
  LVS only forwards the request packets (may also rewrite the packets), and transmits them. The obvious feature of the DR mode is that it comes from the node server under the load balancing. See, the received request is still the real user from the client accessing the load balancer, but the reverse proxy server is different. After the reverse proxy receives the request from the accessing user, it will proxy the user to re-initiate the request and request the node under the proxy. The server finally returns the data to the client user. From the point of view of the node server, the client user of the accessed node server is the reverse proxy server, not the real website visitor.

In a word, load balancing such as LVS forwards data packets requested by users, while Nginx reverse proxy receives the user's request and then re-initiates the request to request the nodes behind it.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325350196&siteId=291194637