centos6 squid

acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8

http_port 80 vhost

cache_peer 192.168.50.181 parent 8080 0 no-query originserver name=i248.514999.com
cache_peer_domain i248.514999.com i248.514999.com



http_access allow all

cache_mem 64 MB
emulate_httpd_log on
visible_hostname buyvmvps
cache_mgr [email protected]
access_log /var/log/squid/access.log squid
refresh_pattern .               0       20%     4320
acl apache rep_header Server ^Apache
coredump_dir /var/spool/squid

你可能感兴趣的:(转载文章)