[squid-users] Squid Cache_peer
Jonathan thomas Cho
jonathanthomascho22 at gmail.com
Sun Sep 3 05:37:34 UTC 2017
Hello, I seem to have a issue with cache peer. I have 2 parent IPS, however, I want port 3128 to go to 1 parent while 3129 go to the second parent. Here is my current config, I hope you can adjust it for me. Thank you
Http_port 3128
http_port 3129
coredump_dir /var/spool/squid3
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern (Release|Packages(.gz)*)$ 0 20% 2880
refresh_pattern . 0 20% 4320
cache_peer 1xx.xxx.xxx.xxx parent 3128 0 proxy-only no-query default login=username:password name=user1
cache_peer 1xx.xxx.xxx.xxx parent 3128 0 proxy-only no-query default login=username:password name=user2
never_direct allow all
as you can see, I’m not entirely sure on what to do to route each parent ip to specific port so users cant use more ports than needed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170903/763490da/attachment.html>
More information about the squid-users
mailing list