Nginx: forward proxy and reverse proxy

What is Nginx?

Nginx is a high-performance HTTP and reverse proxy web server, and also provides IMAP/POP3/SMTP services. 

Nginx is a lightweight WEB server/reverse proxy server and email (IMAP/POP3) proxy server. 

What is a forward proxy? 

The biggest feature of forward proxy is that the client is very clear about the server address to be accessed; the server only knows which proxy server the request comes from, but not which specific client it comes from.

The forward proxy mode shields or hides the real client information.

What is a reverse proxy? 

The reverse proxy works on the server side. For a user's request, it will be forwarded to one of multiple back-end processors to process the specific request.

For example, there are a lot of people buying things in shopping apps on Double Eleven, and a single server cannot meet people's needs, so multiple servers are needed to solve this problem. 

The requests sent by multiple clients to the server, after being received by the nginx server, are distributed to the back-end business processing server for processing according to certain rules.

At this time, the source of the request, which is the client, is clear, but it is not clear which server handles the request . Nginx acts as a reverse proxy.

 

Guess you like

Origin blog.csdn.net/weixin_44690047/article/details/114575088