[squid-users] redirect IP request to special cache_peer
schneelei at gmail.com
Wed Jun 1 06:20:56 UTC 2016
thanks for adding me to your mailing list.
My question is about the cache_peer configuration directive.
In my config I have to use three cache_peer proxies:
To choose the cache_peer on the basis of the URL its responsible for I use
the cache_peer_access directive and created a .txt-file with the allowed
urls. This is working fine.
But when I request a IP address "http://18.104.22.168" this is not working. For
http://test.best works over the responsible cache peer
http://22.214.171.124 isn´t working
The configuration looks the following:
acl parent1 url_regex -i "/etc/squid/parent1.txt
content of parent1.txt:
^http://test.best --> working
^http://126.96.36.199 --> not using the parent proxy and tries direct access.
cache_peer 10.1.2.3 parent 8080 name=parent1
cache_peer_access parent1 allow parent1
cache_peer_access parent1 deny all
Can you tell me where the fault is?
Kind regards and thanks for any help!
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/redirect-IP-request-to-special-cache-peer-tp4677758.html
Sent from the Squid - Users mailing list archive at Nabble.com.
More information about the squid-users