当前位置:网站首页>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 .
边栏推荐
- Excellent basic methods of URL parsing using C language
- Slam overview Reading Note 6: slam research based on image semantics: application-oriented solutions for autonomous navigation of mobile robots 2020
- log4j2 jdbc appender
- Arduino+ze08-ch2o formaldehyde module, output formaldehyde content
- 力扣SQL语句习题,错题记录
- One of yolox improvements: add CBAM, Se, ECA attention mechanism
- Weice biological IPO meeting: annual revenue of 1.26 billion Ruihong investment and Yaohe medicine are shareholders
- Document translation__ Tvreg V2: variational imaging method for denoising, deconvolution, repair and segmentation (part)
- 面试八股文之·TCP协议
- Hard deduction SQL statement exercises, wrong question records
猜你喜欢

C#测量工具示意图

Arduino+ze08-ch2o formaldehyde module, output formaldehyde content
![[idea] set to extract serialVersionUID](/img/ef/7eee4639cd4306a2a7a53d73528bbd.png)
[idea] set to extract serialVersionUID

Zhishang technology IPO meeting: annual revenue of 600million, book value of accounts receivable of 270Million

codeforces 1708E - DFS Trees

2022年中国网络视频市场年度综合分析
![[training day4] sequence transformation [thinking]](/img/2f/ab1ee75a871adfa9ad443c4a4886ae.png)
[training day4] sequence transformation [thinking]

NFT 的 10 种实际用途

【笔记】逻辑斯蒂回归

C语言基础知识梳理总结
随机推荐
连接ResourceManager 失败
Document translation__ Tvreg V2: variational imaging method for denoising, deconvolution, repair and segmentation (part)
[luogu_p4820] [national training team] stack [mathematics] [physics] [harmonic progression]
Spark job uses log4j appender to append logs to local files or mysql
Simple encapsulation steps of request data request of uniapp
JS epidemic at home, learning can't stop, 7000 word long text to help you thoroughly understand the prototype and prototype chain
arduino+ZE08-CH2O甲醛模块,输出甲醛含量
2022 Niuke multi School II_ E I
Failed to connect to ResourceManager
NFT 的 10 种实际用途
Utnet hybrid transformer for medical image segmentation
进程间通信
SLAM综述阅读笔记七:Visual and Visual-Inertial SLAM: State of the Art, Classification,and Experimental 2021
Negative ring
【论文精读】Grounded Language-Image Pre-training(GLIP)
[idea] set to extract serialVersionUID
Arduino+ze08-ch2o formaldehyde module, output formaldehyde content
Cultural tourism and data collection | travel to Yunnan in an artistic way
One of yolox improvements: add CBAM, Se, ECA attention mechanism
np.arange()和 range()的用法及区别