[squid-users] forward and reverse proxy with squid 3.2

From: Erich Titl <erich.titl_at_think.ch>
Date: Fri, 16 Sep 2011 10:35:26 +0200

Hi Folks

I need to replace my squid proxy running on a Debian Lenny, because the
version provided does not handle ssl.

I managed with some tweaks to the makefile (especially for the link
phase) to compile 3.2.0.11, the configuration changes though apear to
make it impossible to run a normal and reverse proxy in the same instance.

I copied most of the configuration files from the old installation,
hoping they would not to be too different.

My new installation runs fine as a normal proxy, as soon as I include
the reverse proxy configuration, everything is sent to the peer
mentioned there.

####################################################################################
# squid reverse proxy settings
# content shamelessly adapted from
#
http://wiki.squid-cache.org/ConfigExamples/Reverse/SslWithWildcardCertifiate
# Copyleft 2009 erich.titl_at_think.ch
####################################################################################

http_port 80 accel

# peer servicedesk
cache_peer servicedesk.ruf.ch parent 80 0 no-query originserver
name=servicedesk

acl sites_server_1 dstdomain servicedesk.ruf.ch
cache_peer_access servicedesk allow sites_server_1
http_access allow sites_server_1
#########################################################################################

It appears that the cache_peer directive now takes precedence.

cheers

Erich

Received on Fri Sep 16 2011 - 08:35:44 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 16 2011 - 12:00:03 MDT