Hi everybody,

I need to setup something like this:

            +---> Squid1 ---> Apache1
            |       |
            |   proxyonly
            |       |
Internet ---+---> Squid2 ---> Apache2
            |       |
            |   proxyonly
            |       |
            +---> Squid3 ---> Apache3

All squids are siblings and each one only cache one server.
Squids (port 80) and apaches (port 8080) are on the same server for now.
Would these confs work?

squid1.conf:
 http_port <IP1>:80 accel defaultsite=www.example.com vhost
 cache_peer <IP1> parent 8080 0 no-query originserver name=ap ache 
front-end-https=auto
 cache_peer <IP1> sibling 80 3130 proxy-only name=squid1
 cache_peer <IP2> sibling 80 3130 proxy-only name=squid2
 cache_peer <IP3> sibling 80 3130 proxy-only name=squid3

squid2.conf:
 http_port <IP2>:80 accel defaultsite=www.example.com vhost
 cache_peer <IP2> parent 8080 0 no-query originserver name=apache 
front-end-https=auto
 cache_peer <IP1> sibling 80 3130 proxy-only name=squid1
 cache_peer <IP2> sibling 80 3130 proxy-only name=squid2
 cache_peer <IP3> sibling 80 3130 proxy-only name=squid3

squid3.conf:
 http_port <IP3>:80 accel defaultsite=www.example.com vhost
 cache_peer <IP3> parent 8080 0 no-query originserver name=apache 
front-end-https=auto
 cache_peer <IP1> sibling 80 3130 proxy-only name=squid1
 cache_peer <IP2> sibling 80 3130 proxy-only name=squid2
 cache_peer <IP3> sibling 80 3130 proxy-only name=squid3

Do I have to remove the "self sibling" line?
Do I miss any classic cache_peer options for a regular website (with https 
login page)?

Thank you,
JD


      

Reply via email to