- 论坛徽章:
- 0
|
http_port 80
icp_port 0
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_dir ufs /database/webroot/squid 1024 16 256
cache_mem 1000 MB
cache_effective_user squid
cache_effective_group squid
#
visible_hostname house365
log_icp_queries off
buffered_logs on
emulate_httpd_log on
redirect_rewrites_host_header off
half_closed_clients off
refresh_pattern -i \.jpg$ 10 50% 4320 reload-into-ims
refresh_pattern -i \.png$ 10 50% 4320 reload-into-ims
refresh_pattern -i \.swf$ 10 50% 4320 reload-into-ims
refresh_pattern -i \.htm$ 0 20% 1440
refresh_pattern -i \.html$ 0 20% 1440
refresh_pattern -i . 5 25% 2880
#acl Manager proto cache_object
#acl Localhost src 127.0.0.1/255.255.255.255
#acl remote src 218.94.75.145/255.255.255.255
#http_access allow Manager Localhost remote
#http_access deny Manager
acl all src 0.0.0.0/0.0.0.0
http_access allow all
httpd_accel_single_host on
httpd_accel_uses_host_header on
httpd_accel_host 172.17.1.50
httpd_accel_port 80
这是我的全部配置
我还想问一下,我测试了一下,我是2个X3.0CPU,4G内存,但是CPU使用很低,我也问过squid不支持smp
不知道如何解决呢? |
|