请解释一下squid透明代理和httpd加速的关系

由 antelope 在 09-10-2003 10:51 发表:

请解释一下squid透明代理和httpd加速的关系

我看到的配置是

http_port 3333

httpd_accel_host virtual

httpd_accel_port 80

httpd_accel_with_proxy on

httpd_accel_uses_host_header on

再配置iptables重定向

iptables -t nat -A PREROUTING -s 192.168.1.0/24 -p tcp --dport 80 -j DNAT --to 192.168.1.1:3333

这样的做法确实可以。

我不太明白什么是http加速,什

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus