イカには2つのプロキシがあります
A:cache_peer 127.0.0.1 parent 8111 6000 no-query
B:cache_peer 127.0.0.1 parent 8112 6000 no-query
http トラフィックの場合は A、https トラフィックの場合は B
ユーザーが http にアクセスして A に移動したとき、https が B に移動したときにユーザーの ACL ルールを作成する方法を教えてください。
ありがとうございました。
次の URL を使用します。
http://wiki.squid-cache.org/ConfigExamples/Reverse/MultipleWebservers
または、これは私によればうまくいくはずです。
acl secure port 443
acl simple port 80
cache_peer 127.0.0.1 parent 8111 6000 no-query name=phttp
cache_peer 127.0.0.1 parent 8112 6000 no-query name=phttps
cache_peer_access phttp allow simple
cache_peer_access phttps allow secure