Linux and cloud Computing--the second phase of the 11th Chapter: Agent Proxy Server Erection-squid configuration Reverse Proxy

Source: Internet
Author: User

Linux and Cloud computing--the second phase of Linux Server Setup The 11th chapter:Agent Proxy Server Erection-squid configuration Reverse Proxy Reverse proxy settings [1] Configuration Squid.

[Email protected] ~]# vim/etc/squid/squid.conf

#: Add ( allow all http access )

Http_access Allow all

# line: Specify the backend Web server

Http_port Accel Defaultsite=client.example.com

# line: Cancel Notes

# means [disk cache size] [number of directories on top level] [number of directories on 2nd]

Cache_dir UFS/VAR/SPOOL/SQUID 100 16 256

# at the end section Add

Cache_peer client.example.com Parent 0 no-query Originserver

# Memory Cache Size

Cache_mem MB

# define Hostname

Visible_hostname www.example.com

[Email protected] ~]# systemctl start squid

[Email protected] ~]# Systemctl enable squid

[2] through Browser Access www.example.com make Validation


This article is from the "11830455" blog, please be sure to keep this source http://11840455.blog.51cto.com/11830455/1837031

Linux and cloud Computing--the second phase of the 11th Chapter: Agent Proxy Server Erection-squid configuration Reverse Proxy

Related Article

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.