client must make some special settings to use the forward proxy.
The concept of reverse proxy
Continue with examples:
Example user Access Http://ooxx.me/readme
But there's no Readme page on ooxx.me.
He was secretly taken back from another server and then spit it out to the user as his own content.
But the user does not know
This is normal, the user is generally
setBlock, All"Via:"The first line will be deleted. There will be no new"Via:"Header.
1
The proxy can be used on the local machine.
1.2 browser settings (taking Firefox as an example)
1.3 access results
Visit www.sina.com and observe the HTTP request response:
We can see that via: www.test.com, the forward proxy is successful.
2. Reverse
reverse proxy
Continue with examples:Example user Access Http://ooxx.me/readmeBut there's no Readme page on ooxx.me.He was secretly taken back from another server and then spit it out to the user as his own content.
But the user does not knowThis is normal, the user is generally very stupid
The ooxx.me mentioned here has the reverse
the concept of a forward proxyThe forward agent, the legendary agent, works like a springboard,To put it simply,I am a user, I cannot access a website, but I can access a proxy serverThis proxy server, he can access the site that I can't accessSo I first connected to the proxy server and told him that I needed the content that I could not access the siteProxy ser
Concept of forward proxy
A forward proxy, the legendary proxy, works like a stepping stone,To put it simply,As a user, I cannot access a website, but I can access a proxy server.This proxy server can access the website that I cannot accessSo I first connected the
A forward proxy is also a legendary proxy. It works like a stepping stone. Simply put, I am a user and cannot access a website, but I can access a proxy server, which can access a website that I cannot access. So I first connect to the proxy server, tell him that I need the content
Forward proxy and Reverse proxy table of Contents
Forward Proxy
Reverse Proxy
Difference between the two
Original: http://jingyan.baidu.com/article/f54ae2fcd895b81e93b84973.htmlForward ProxySimply put, I am a
The usual proxy server, which is the forward proxy, is used only for proxy connection requests from the internal network to the Internet, and the client must specify a proxy server and send HTTP requests that would otherwise be sent directly to the Web server to the proxy se
(1). The concept of a forward proxyForward agent, that is, the legendary agent, he works like a springboard, simply said, I am a user, I can not access a website, but I have access to a proxy server, the proxy server, he can access the site I can not access, so I first connected to the proxy server, Tell him I need the content of the inaccessible site, the
What is Nginx?Nginx (engine x) is a high-performance HTTP and reverse proxy server, also a IMAP/POP3/SMTP server.Nginx is a lightweight Web server/reverse proxy server and e-mail (IMAP/POP3) proxy server that is released under a bsd-like protocol. It is characterized by the
A forward proxy is a server that is located between the client and the original server (Origin server), in order to obtain content from the original server, the client sends a request to the agent and specifies the target (the original server), and the agent forwards the request to the original server and returns the obtained content to the client. The client must make some special settings to use the forward proxy.Reverse
reverse proxy
Continue with examples:Example user Access Http://ooxx.me/readmeBut there's no Readme page on ooxx.me.He was secretly taken back from another server and then spit it out to the user as his own content.
But the user does not knowThis is normal, the user is generally very stupid
The ooxx.me mentioned here has the reverse
To sum up is:1, the agent when the client knows the server, through the proxy to access the server, then the agent is the server2, reverse proxy when the client does not know the server side, the server knows the client, through the proxy to access the server, then the agent is the clientThe concept of a forward proxyT
1.Concept of forward proxy
Forward proxyIsOrigin server)To get content from the original server, the client sends a request to the proxy and specifies the target (original server ), then the proxy transfers the request to the original server and returns the obtained content to the client. The client must make some special settings to use the forward
Forward proxy is a client and originalServerTo get content from the original server, the client sends a request to the proxy and specifies the target (original server ), then the proxy transfers the request to the original server and returns the obtained content to the client. The client must make some special settings to use the forward
1. Forward proxy
The forward proxy is located between the original server and the client, and its role is to send requests in place of the client, for example, to protect the client, or to flip the wall (the condition is that the proxy server must not be limited by GFW, currently, most VPs instances outside China are purchased. The process is as follows:
1.
1. Forward Proxy: The Agent object is the client;For example, some companies control the company computer can only access the local area network and a few external network URLs, then the company needs a proxy server, the employee computer request the network URL is sent through the proxy server (proxy server will check
Configure reverse proxy for Nginx to access internal services, and configure reverse access for nginx
Nginx can provide a high-performance reverse proxy service to forward client requests to real servers hidden in the internal network, return the result data obtained from
your customer IE, such:
Xxxxxx
2. squid reverse proxy:
Vi/etc/squid. conf
Add acl and http_access to allow all access
Set the listening port 80 in http_port = 80, and then add
Cache_peer 192.168.1.156 parent 8000 0 name = a # set multiple backend IP addresses and ports, and add one line
Cache_peer_domain a www.bkjia.com # multiple domain names are separated by SpacesThe following error occurs:
ERROR
The re
Three characters
Client
Proxy Server
Target server
Forward Proxy
The target server is visible to the client (whether or not the proxy server exists), but there may be a possibility that the client must go through the proxy server to access the target server (for example, Access www.google.com)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.