Reverse proxy principle

Forward Proxy

Forward proxy hides the real client.
Disciplines such as Internet: In-country visit http://www.google.com browser, is cruel block, off Park then set up a proxy server in a foreign country, to make proxy server to ask for google, proxy requests to return again return to me.

Reverse Proxy

Reverse proxy server hides the real
as www.baidu.com request or call 10086 as behind thousands of servers is what I serve, specific Which we do not know, what we www.baidu.com the reverse proxy server, the reverse proxy server will help us to put forward the request to the real server.
Nginx is a reverse proxy server, used for load balancing.

正向代理代理的对象是客户端,反向代理代理的对象是服务端



Reverse proxy and redirect the difference?
A-Redirect-B, then re-visit B instead of A in the
A-ReverseProxy-B no matter how accessible are A

Guess you like

Origin www.cnblogs.com/greycdoer0/p/12022055.html