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
;
Second, the first knowledge Nginx: simple but not ordinary
2.1 Nginx is a god horse?
Nginx is a
lightweight Web server, a reverse agent, and an e-mail proxy server. It publishes the source code in the form of a BSD-like license, which is known for its stability, rich feature sets, sample configuration files, and low s
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.
Simple Comprehension
Agent
The agent is the client.
Reverse proxy
The agent is the service side.
A more detailed description
Agent
For example, client C needs to access site B, but because B is wall, C cannot be accessed directly, but there is another intermediate client p, he can turn over the wall
1. Direction of AccessForward Proxy: A Web site or server that is accessed externally from within, but not directly accessible to external sites, which is accessible to external sites. If you are visiting Facebook, Twitter and other websites in China via proxyReverse proxy: Typically external access to internal servers, and the number of internal servers is more complex, in order to simplify external user a
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
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)
Web server, and the external network can simply treat it as a standard Web server without specific configuration. The difference is that this server does not store the real data of any webpage, all static webpages or CGIProgramAre saved on the internal web server. Therefore, the attack on the reverse proxy server does not damage the webpage information, which en
On the basis of introducing the working principle of squid Reverse proxy, this paper points out that reverse proxy technology has a good use in improving Web site access speed and enhancing usability and security of web sites. The author uses DNS polling and SQUID reverse
First, Nginx forward and reverse proxy
1, Nginx of the forward agent
The forward proxy is a server 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 then forwards the request to the original
External network access test machine.The Windows machine uses SSH to reverse tunnel. Service side using reverse proxy
Install Openssh-win and set environment variables under win
Open cmdC:\users\administrator>ssh-p 22-r 1999:localhost:8080-b 0.0.0.0 [email protected]-R 1999 Port of the remote machine-B External network segment monitoring, no 127.0.0.
think that the card is due to the speed of the upgrade).
Probably heard here everyone is still very abstract, it's okay, and the following reverse proxy comparison understanding is simple.3. Reverse Proxy
The difference between a reverse
Reverse proxy is also a kind of important technology that can help to realize the static website, today I will talk about the subject of reverse proxy. So first we need to understand what the reverse proxy is. And the
external network can simply treat it as a standard Web server without the need for a specific configuration. The difference is that the server does not keep the real data of any Web pages, all static Web pages or CGI programs are stored on the internal Web server. Therefore, attacks on the reverse proxy server do not cause Web page information to be compromised,
Simple comprehension
AgentThe agent is the client.
Reverse ProxyThe agent is the service side.
A more detailed description
AgentFor example, client C needs to access site B, but because B is wall, C cannot be accessed directly, but there is another intermediate client p, he can turn over the wall, can access the B site. So there is a solution: C sends a request to the B site to P, then p then forwards the request to B, and finally p ret
Turn from: Http://www.ibm.com/developerworks/cn/linux/l-cn-squid/
On the basis of introducing the working principle of squid Reverse proxy, this paper points out that reverse proxy technology has a good use in improving Web site access speed and enhancing usability and security of web sites. The author uses DNS polli
Original article:
Reverse Proxy Server
1. Concept of reverse proxy
The reverse proxy method is to use a proxy server to accept connection requests from the Internet, and then forward t
.
Reverse proxy can solve these problems and improve reliability by providing zero downtime.
**
Generate reverse proxy configuration**
When the container starts and stops, setting the reverse
note: New requests and CGI requests must go all the way to the content server, and the remaining requests can be processed directly by the proxy server. It is obvious that a new request must first reach the content server, otherwise cache what content? A CGI request is a request for a dynamically changing page, such as the article page you are looking at can be changed at any time due to the use of replies, rever
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.