squid 配置
via off
forwarded_for off
request_header_access From deny all
request_header_access Server deny all
request_header_access WWW-Authenticate deny all
request_header_access Link deny all
request_header_access Cache-Control deny all
request_header_access Proxy-Connection deny all
request_header_access X-Cache deny all
request_header_access X-Cache-Lookup deny all
request_header_access Via deny all
request_header_access X-Forwarded-For deny all
request_header_access Pragma deny all
request_header_access Keep-Alive deny all
cache_dir null /tmp
http_access allow all
http_port 3128
include /etc/squid/peers.conf
访问 http://httpbin.org/get,可以看到每次刷新都是不同 ip,但 https://httpbin.org/get 还是原始 ip,没有走代理,求教应该如何配置才能使 https 也走代理?
1
dsg001 OP |