squid 反向代理配置

/etc/squid/squid.conf

http_port 192.168.199.231:80 vhost
visible_hostname 192.168.199.231
acl all src 0.0.0.0/0.0.0
http_access allow all

cache_peer 192.168.199.209 parent 8080 0 originserver weight=3 max_conn=30
#目标服务器, 端口, 权值, 允许链接最大数

你可能感兴趣的:(squid)