Search squid archive

Squid.conf Question Reverse Proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is my current squid.conf. Could someone tell me what I need to add in order to accomplish
 adding a 2nd url img02.cprpt.com which will in turn point to a 2nd web server(172.19.23.92) which has separate 
Content that the existing server(172.19.23.91).


http_port 80 accel defaultsite=img01.cprpt.com
cache_peer 172.19.23.91 parent 80 0 no-query originserver name=myAccel
acl all src 0.0.0.0/0.0.0.0
acl our_sites dstdomain img01.cprpt.com
http_access allow our_sites
cache_peer_access myAccel allow our_sites
cache_peer_access myAccel deny all
visible_hostname bv-ic01


I tried the following to no avail:

http_port 80 accel defaultsite=img01.cprpt.com
cache_peer 172.19.23.91 parent 80 0 no-query originserver name=myAccel


acl all src 0.0.0.0/0.0.0.0
acl our_sites dstdomain img01.cprpt.com
http_access allow our_sites
cache_peer_access myAccel allow our_sites
cache_peer_access myAccel deny all

cache_peer 172.19.23.92 parent 80 0 no-query originserver name=server_2
acl sites_server_2 dstdomain img02.cprpt.com
cache_peer_access server_2 allow sites_server_2

Thanks in advance!!

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux