Search squid archive

Re: SQUID3 configuration in accelerator mode (reverse proxy)  http and https

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

 



mån 2006-07-17 klockan 04:33 +0200 skrev gwaa:

> http_access allow our_networks
> http_access allow all
> http_port 3128 vhost vport=80 protocol=http defaultsite=www.domain1.com
> 
> acl http proto http
> acl port80 port 80
> acl domain2_com dstdomain .domain2.com
> acl domain1_com dstdomain .domain1.com
> 
> cache_peer 192.169.2.2 parent 80 0 no-query originserver name=domain1
> cache_peer_access domain1 allow domain1_com
> 
> cache_peer 192.168.2.32 parent 80 0 no-query originserver name=domain2
> cache_peer_access domain2 allow domain2_com
> 
> http_access allow http port80 domain2_com domain1_com
> always_direct allow domain2_com domain1_com port80
> 
> #misc config
> cache_effective_user squid
> cache_effective_group squid
> dns_nameservers 192.168.2.2 192.168.2.4
> visible_hostname dns.domain1.com
> cache_mgr webmaster@xxxxxxxxxxx
> mail_from webmaster@xxxxxxxxxxx


You are still mixing both cache_peer and always_direct. Don't do that.
Delete one of the two directives, depending on how you want to control
request forwarding.

I would recommend deleting the always_direct line.

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux