Linux and Cloud computing--the second phase of Linux Server SetupThe 11th chapter:Agent Proxy Server Erection-squid configuration Reverse ProxyReverse proxy settings[1]ConfigurationSquid.[Email protected] ~]# vim/etc/squid/squid.conf#: Add ( allow all http access )Http_access Allow all# line: Specify the backend
Article title: Squid implements reverse proxy and has intranet proxy. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
All files on my site are static html. to further speed up the webpage,
Squid reverse proxy working principle when a user's browser sends an HTTP request, the request is directed to the reverse proxy server through domain name resolution (if you want to implement reverse proxy for multiple WEB servers, you need to direct the domain names of mult
1. Squid Introduction
1. Introduction to cache servers
A cache server is a dedicated server used to store webpages, images, files, and other information accessed by users (memory and hard disk). This server not only allows users to get the information they want as quickly as possible, in addition, the data volume transmitted over the network is greatly reduced, and the cache server is often a proxy server.
/var/cache/squid 100 16 256coredump_dir/usr/local/squid/var/cache/squiddns_nameservers 114.114.114.114 #dnsrefresh_pattern ^ftp:1440 20% 10080refresh_pattern ^gopher:1440 0% 1440refresh_pattern-i (/cgi-bin/|\?) 0 0% 0refre Sh_pattern. 0 20% 4320Finally, attach the configuration details:#acl all src 0.0.0.0/0.0.0.0 and http_access the Allow all option defines an access control list. For deta
Using squid as a directional proxy server can function like Nginx, and can store cached content in memory, Nginx cache content on a hard disk, and configure the same principle as nginx, squid himself works as a Web server, Direction proxy to the backend
Case:Web server: Domain name www.abc.com ip:192.168.21.129 Telecom Single line accessAccess users: Telecommunications broadband users, mobile broadband usersProblems: Telecommunications users open www.abc.com Normal, mobile users open www.abc.com very slow, or even openSolution: Place a CDN proxy server in the mobile computer room, through the intelligent DNS resolution, let the telecommunication user directly access the
Linux and Cloud computing--the second phase of Linux Server SetupThe 11th chapter:Agent Proxy Server-squid proxy and client configurationInstalling Squidinstallation Squid come to Configuring a proxy server . [1]this is aGeneric forwarding agent configuration[Email protected
Squid Reverse proxy)Reverse Proxy also provides cache acceleration, but the service object is reversed.Traditional and transparent proxies mostly provide cache proxies for LAN users to access web sites on the Internet;Reverse Proxy, on the contrary, provides cache accelerati
.aminglinux.com .lishiming.net
Http_access allow good_domain
Http_access deny! Good_domain
Check the syntax of the configuration file:
# Squid-kcheck
No problem restarting squid
# Service squid restart
Or reload the configuration file.
# Squid-kre
Iv. Reverse Proxy
Http_por
Ubuntu installs squid as the Proxy of the intranet. I have a machine named UbuntuLinux, which has a wireless network card and can be used on the Internet. I want to set it as a proxy server so that other machines in the intranet can use it as a proxy for Internet access. 1. install
1. Install squid-2.5Groupadd squidUseradd? G squidRpm? Ivh squid-2.5.STABLE3-3.3E.i386.rpmIi. Configure squid. conf:# Set the proxy port of SQUID (with the IP address added, Squid will not listen to external network interfaces)Htt
Brief introduction:Squid reverse proxy is often used for server side, Client access Squid Proxy Server 80 port, Squid Proxy Server according to the configuration to request the backend Web server,The requested information is then
Objective:
This paper mainly introduces the use of Squid and Squidguard configuration Proxy server in Linux, with the WWW Proxy service as an example to explain how to filter harmful sites and restrict users ' access to the Internet.
I. INTRODUCTION
Squid is the most popular pro
A simple introduction of squid
Through Squid Proxy server to achieve intranet users to share the Internet, configure Squid cache and basic access control to accelerate and restrict access to Web services.
For web users,
Case:
Web server: domain name www.abc.com IP: 192.168.21.129 China Telecom single line access
Users: Telecom broadband users and mobile broadband users
Problem: telecom users can access www.abc.com normally. Mobile users can access www.abc.com very slowly or even not.
Solution: place a CDN proxy server in the mobile data center. through intelligent DNS resolution, telecom users can directly access the
Common configurations of squid Proxy
Squid. conf is the main configuration file of squid. Common configuration items include:
Http_port 192.168.8.88: 3128
# Specify the listening port and IP address
Cache_mem 64 MB
# Set the memory size used for caching,
# MB can be used to save frequently accessed
This session explains the common types of proxy serversLearn to build a traditional agent, transparent proxy serviceLearn to configure the access control policy for squid.First, squid service baseworking mechanism of the agent When a client requests a Web page through a proxy
Objective:
This paper mainly introduces the use of Squid and Squidguard configuration Proxy server in Linux, with the WWW Proxy service as an example to explain how to filter harmful sites and restrict users ' access to the Internet.
I. INTRODUCTION
Squid is the most popular pro
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.