Re: [squid-users] DNS-based reverse proxy peer selection, 2.5 vs 2.6

From: Henrik Nordström <henrik@dont-contact.us>
Date: Mon, 25 Feb 2008 04:25:55 +0100

mån 2008-02-18 klockan 12:57 +0000 skrev Sven Edge:

> In the 2.5 config,
> httpd_accel_host virtual
> and possibly also
> httpd_accel_single_host off
> httpd_accel_uses_host_header on
> mean that web servers are chosen from our internal DNS, without needing
> to be hardcoded as cache_peer lines in the squid.conf, let alone
> cache_peer_access/cache_peer_domain for each vhost (we have dozens).
>
> Is there a way to do this in 2.6?

http_port 80 vhost
always_direct allow all

Note: Remember to set http_access rules properly to only allow access to
your servers or you may end up with an open proxy...

Regards
Henrik

Received on Sun Feb 24 2008 - 20:30:02 MST

This archive was generated by hypermail pre-2.1.9 : Sat Mar 01 2008 - 12:00:05 MST