[squid-users] forwarding different cache servers

From: Emre CELEBI <ecelebi@dont-contact.us>
Date: Tue, 30 Mar 2004 10:17:38 +0300 (EEST)

Hi,

Im trying to do the following schema,trying to forward incoming client
requests to two different backend servers. is the correct way to do so
with cache_peer_access directives? or is there anything else im missing?

browser ====ssl====> squid =====ssl=====> BackServerA (10.3.2.1)
                       ||
                       ||=======ssl=====> BackServerB (10.3.2.2)

squid config file:
-------------

acl dstA_ip dst 10.3.2.1
acl dstB_ip dst 10.3.2.2

cahce_peer www.serverA.com parent 443 0 no-query
cache_peer_access www.serverA.com allow dstA_ip
cache_peer_access www.serverA.com deny all

cahce_peer www.serverB.com parent 443 0 no-query
cache_peer_access www.serverB.com allow dstB_ip
cache_peer_access www.serverB.com deny all

/etc/hosts
www.serverA.com 10.3.2.1
www.serverB.com 10.3.2.2

thanks for ur helps,
regards,
Emre.
Received on Tue Mar 30 2004 - 00:14:24 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:03 MST