Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

正向代理和反向代理 #4

Open
AILINGANGEL opened this issue May 27, 2019 · 0 comments
Open

正向代理和反向代理 #4

AILINGANGEL opened this issue May 27, 2019 · 0 comments

Comments

@AILINGANGEL
Copy link
Owner

反向代理

反向代理主要是用来代理后端服务的,客户端不直接向服务器发送请求而是向代理服务器发送请求,客户端并不知道后端服务器的存在。客户端收到的资源都来自这个反向代理,反向代理后面可能有多个服务器

反向代理的优点:负载均衡

正向代理

正向代理是代理客户机的,服务器并不知道客户机的存在,服务器收到的所有请求都来自于这个正向代理.

正向代理的优点: 客户机可以通过正向代理访问互联网中不同的资源。比如我们不能访问谷歌的服务器,但是通过购买一个代理服务器配置一下就可以访问啦~~~由这个代理服务器去帮我们请求资源

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant