天天看點

squid2.6 unrecognized: 'httpd_accel_host'錯誤

#2.5的反向代理加速配置

#httpd_accel_host 127.0.0.1

#httpd_accel_port 80

#httpd_accel_single_host on

#httpd_accel_uses_host_header on

#httpd_accel_with_proxy on

#2.6的反向代理加速配置

#代理到本機的80端口的服務,僅僅做為原始内容伺服器

#監聽伺服器的80端口,透明代理,支援域名和IP的虛拟主機

http_port 192.168.1.1:80 transparent vhost vport

#最新2.6使用http_port 192.168.1.1:80 vhost vport

繼續閱讀