当前位置:网站首页>Forward proxy and reverse proxy
Forward proxy and reverse proxy
2022-07-27 14:32:00 【Hua Weiyun】
Forward agent and reverse agent
Forward agency
The forward proxy is that the client knows the address of the server , When sending a request, the client needs to know the information of the target server , It's usually server ip And port , Users and servers cannot communicate directly for various reasons , Forward proxy can be used , Users send requests to their own proxy server , The proxy server then sends the data to the target server , For example, we use some fanxiang Software , Is the forward proxy used . Use forward proxy , Client's HTTP The request can be forwarded to a server that was previously disconnected from the client network .
Reverse proxy
Reverse proxy means that the client does not know the address of the target server , The user sends a request to the proxy server , The proxy server sends the request to the real server , For example, the client requests the domain name , After the domain name, many servers carry out load balancing , This is reverse proxy .nginx It is a software that can realize reverse proxy .
The forward proxy hides the information of the client , The reverse proxy hides the information of the server .
Reverse agents are transparent to the outside , Users do not know whether they are accessing a proxy server . Using reverse proxy can improve the security of internal server , It can also speed up access to internal servers .
nginx In addition to reverse proxy, it also has the function of load balancing , What we use is nginx Of upstream Instructions , By default, the load is distributed by polling ,
summary
Forward agent and reverse agent are two different agents , The forward proxy is that the client must know the address information of the server , Through forward proxy , Clients can access servers that cannot communicate . Reverse proxy means that the client does not know the address of the target server , User sends request to proxy server , But the client does not know that this is a proxy server , There are multiple servers under the proxy server for load balancing .
边栏推荐
- Flexible and easy to use WYSIWYG visual report
- [idea] set to extract serialVersionUID
- Zhishang technology IPO meeting: annual revenue of 600million, book value of accounts receivable of 270Million
- [training day3] delete [simulation]
- HDU4565 So Easy! [matrix multiplication] [derivation]
- One of yolox improvements: add CBAM, Se, ECA attention mechanism
- Schematic diagram of C measuring tool
- Alibaba's latest equity exposure: Softbank holds 23.9% and caichongxin holds 1.4%
- LeetCode·每日一题·592.分数加减运算·模拟
- Recursive method to realize the greatest common divisor
猜你喜欢

Slam overview Reading Note 7: visual and visual intangible slam: state of the art, classification, and empirical 2021

Alibaba's latest equity exposure: Softbank holds 23.9% and caichongxin holds 1.4%

基于企业知识图谱的企业关联关系挖掘

Recursive method to realize the greatest common divisor

大家最想要的,最全的C语言知识点总结,还不赶紧学习

GoPro access - control and preview GoPro according to GoPro official document /demo
![[luogu_p5431] [template] multiplicative inverse 2 [number theory]](/img/e0/a710e22e28cc1ffa23666658f9ba13.png)
[luogu_p5431] [template] multiplicative inverse 2 [number theory]

Advanced MySQL III. storage engine

Pure C handwriting thread pool

C#测量工具示意图
随机推荐
West test Shenzhen Stock Exchange listing: annual revenue of 240million, fund-raising of 900million, market value of 4.7 billion
SLAM综述阅读笔记七:Visual and Visual-Inertial SLAM: State of the Art, Classification,and Experimental 2021
watch VS watchEffect
Hard deduction SQL statement exercises, wrong question records
进程间通信
Flat die cutting machine
开源版思源怎么私有部署
watch VS watchEffect
C#测量工具示意图
Weice biological IPO meeting: annual revenue of 1.26 billion Ruihong investment and Yaohe medicine are shareholders
Cultural tourism and data collection | travel to Yunnan in an artistic way
Shell编程规范与变量
Lesson 3: reverse word order
基于预训练模型的多标签专利分类研究
JS what is declaration in advance? The order of function and variable declaration in advance (the foreshadowing of execution context)
Chinese character style transfer --- antagonistic discriminative domain adaptation (L1)
Secondary spanning tree [template]
MySQL advanced II. Logical architecture analysis
[training day4] sequence transformation [thinking]
「游戏引擎 浅入浅出」4.1 Unity Shader和OpenGL Shader