mån 2007-01-08 klockan 13:46 +0530 skrev Sameer Joshi: > Trying to work 2 webservers behind Squid 2.6 stable 4 reverse proxy : > > > My (non-working) relevant config : > > > www.abc.com, www.xyz.com: These are urls given to users > 1.2.3.4: actual ip address of the server www.abc.com or abc.mydomain.com > 5.6.7.8: actual ip address of the server www.xyz.com or xyz.mydomain.com > 1.1.1.1: ip address of the reverse proxy > > **********************SQUID.CONF******************************************************** > > http_port 80 vhost > > cache_peer www.abc.com parent 80 0 originserver > cache_peer www.xyz.com parent 80 0 originserver You also need cache_peer_access/cache_peer_domain telling Squid which sites is on which peer... > **********************/ETC/HOSTS******************************************************** > /etc/hosts contents: Not needed on the Squid server. You can specify the IP in cache_peer.. Regards Henrik
Attachment:
signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel