Proxy Server usage

Source: Internet
Author: User

Proxy

Often see proxy server to access

Proxy server is a kind of important server security function, its work mainly in Open Systems Interconnection(OSI) model for the session layer, therebyFirewall's role. Proxy servers are mostly used to connect to the Internet and local area Network (LAN)

Main functions:

         proxy server English name is (proxy Server), its function is to proxy network users to obtain network information. The image says: It is the intermediary of the network information. The proxy server is like a large cache, which can significantly improve browsing speed and efficiency. More importantly: Proxy server (proxy) is an important security feature provided by Internet link-level gateways, and the main features are:

        

(Internet) and intranet ( local area network ). At home, the so-called China Multimedia Public Information Network and education network are independent large-scale national network, is isolated from the Internet. For a variety of needs, some groups or individuals have opened a proxy server between the two networks, and if we know the address of these proxies , we can use it to reach foreign websites.


The following is a proxy way to make a virtual host in the Nginx configuration;

1. In the nginx.conf code:

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7E/02/wKiom1b01nShY7fVAAAJ6VrqElI490.png "title=" 1.png " alt= "Wkiom1b01nshy7fvaaaj6vrqeli490.png"/>

2. Create a new directory for CONF.D

3. There are two configuration files in the CONF.D directory

The configuration file in ceshi.test.cn.conf is similar to nginx configuration;

Ceshi.test.cn-proxy.conf

is the basic content of ceshi.test.cn-proxy.conf

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7D/FE/wKioL1b02HnSpaPBAABiddFTdPU513.png "title=" 2.png " Width= "height=" 340 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:500px;height:340px; "alt=" Wkiol1b02hnspapbaabiddftdpu513.png "/>

4. Restart Nginx (Service nginx restart)

Based on the above steps, the basic implementation of similar virtual host functions.

This article from "I Am 喳喳" blog, reprint please contact the author!

Proxy Server usage

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.