Forward proxy, Reverse proxy

Source: Internet
Author: User

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 whether the site is allowed by the company, such as the company can only let employees visit Baidu), At this point the Proxy proxy object is the employee computer (client).

client > Proxy Server > Baidu Server

2. Reverse proxy: The object of the proxy is the server.

Now many companies are using nginx load balancer, the client request the company's URL, in fact, was accepted by Nginx, and then distributed to the following Tomcat server. (There are more than one tomcat doing load balancing, load balancing takes into account session sessions) then the Nginx proxy object is the Tomcat server.

Client > Proxy server > Company Server

Forward proxy, Reverse proxy

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.