Squid server - multiple originservers with different domains
- by jduncan
I have 2 squid servers load-balanced with F5 LTMs set up as a reverse proxy.
My problem:
origin server A hosts domains 1, 2, and 3
origin server B hosts domains 4 and 5.
how can I set up squid so that it will cache all vhosts for both servers?
my current config:
cache_peer serverA parent 80 0 round-robin no-query originserver login=PASS
If I add a second line:
cache_peer serverB parent 80 0 round-robin no-query originserver login=PASS
it only caches domains on serverB, requests for serverA content generate 404 errors.
I don't use squid a whole lot, and all help is appreciated. thanks.