PHP站点用Squid再次疯狂加速你的WEB

  icp_port 0

  acl QUERY urlpath_regex cgi-bin ?

  no_cache deny QUERY

  cache_mem 16 MB

  cache_dir ufs /tmp 256 16 256

  log_icp_queries off

  buffered_logs on

  emulate_httpd_log on

  redirect_rewrites_host_header off

  half_closed_clients off

  acl all src 0.0.0.0/0.0.0.0

  http_access allow all

  cache_mgr admin

  cache_effective_user squid

  cache_effective_group squid

  httpd_accel_host 210.51.0.124

  httpd_accel_port 81

  

  http_port”参数指定Squid监听浏览器客户请求的端口号,这里当然是80了

  cache_dir ufs /tmp 256 16 256

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wwwzwf.html