标签:squid+squidclamav 反向代理设置 squid+squidguard
[root@server ~]# vim /etc/squid/squid.conf
# 54: 添加 ( 允许所有http访问 )
http_access allow all
# line 63: 指定后端WEB服务器
http_port 80 accel defaultsite=client.example.com
# line 62: 取消注释
# number means [disk cache size] [number of directories on top level] [number of directories on 2nd level]
cache_dir ufs /var/spool/squid 100 16 256
# 在最后部分添加
cache_peer client.example.com parent 80 0 no-query originserver
# memory cache size
cache_mem 256 MB
# define hostname
visible_hostname www.example.com
[root@server ~]# systemctl start squid
[root@server ~]# systemctl enable squid
本文出自 “11830455” 博客,请务必保留此出处http://11840455.blog.51cto.com/11830455/1837031
Linux与云计算——第二阶段 第一十一章:代理Proxy服务器架设—Squid配置反向代理
标签:squid+squidclamav 反向代理设置 squid+squidguard
原文地址:http://11840455.blog.51cto.com/11830455/1837031