charles Reverse Proxy

Reference article: charles Reverse Proxy

This comparison has forced Georgia;

Forward Proxy and Reverse Proxy difference:

Forward Proxy : a proxy client, the client requests a transceiver, so that the real client to the server are not visible; this client terminal, a request for the client transceiver (similar to normal use of the present charles function)

Reverse Proxy : a proxy server, send and receive requests to the server, the real server to the client is not visible; to distribute application load balancing multiple servers in the server side this, send and receive requests for server, application scenarios that are common request.

Sentence is:

Forward Agent: Agent Agent is a client.

Reverse Proxy: proxy server side proxy is.

Reverse Proxy settings

Local port;

Create a port on the local host reverse proxy. This field may be automatically filled with a port available. If there is another application that uses the port, at the time of start reverse proxy you will receive a warning message.

E.g. Given the local port 8001, you will connect to http: // localhost: 8001 /

Remote host and port

As a reverse proxy destination host name or IP address of the remote host and port. Remote port 80 by default, which is the default port for HTTP.

E.g. Enter the www.axihe.comremote host and remote port 80, then http//localhost8001/ will be connected to https://www.axihe.com/ like you

Rewrite Redirect

The remote server redirect response will be overwritten with the source address matches a reverse proxy. The default is open.
Redirect response remote server is the fully qualified URL, even if they are within the same site.

If the address is redirected to a remote server, it needs to be rewritten as a reverse proxy local address, otherwise the client will use the URL to redirect to the remote host, and therefore no longer connected through the reverse proxy.

Reserved host header

Host HTTP header is directly transmitted from the incoming request, instead of the normal host header rewriting reverse proxy to match the remote host. It is off by default.

Only if you have specific requirements, need to retain only the host header; when there is no need to use common use.

Monitor specific address

If you want to specify a local address to listen for reverse proxy, you can enable this option and enter the IP address here. If you want to run multiple network services on the same machine, but run on different IP addresses on the same machine, this feature is useful.

When this option is disabled, the reverse proxy will bind to all available local address.
Reference article: https://www.axihe.com/

Guess you like

Origin www.cnblogs.com/broszhu/p/11565565.html