Re: [squid-users] Proxy AND reverse proxy

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 30 May 2007 20:09:39 +0200

ons 2007-05-30 klockan 15:58 +0200 skrev bret.jerome:

> I use squid-2.6.STABLE5-NT as a proxy for my organisation.
> There are no problem.
> Now, i want to use squid as a reverse proxy, for my website.
> The site what i want to publish is on a IIS6 and SSL.
> In the intranet, the direct connection to the site is
> https://172.17.1.1/SITE/
>
> This is my squid config :
> http_port 3128 # for the proxy cache
> httpd_accel_host 172.17.1.1 # IP address of web server
> httpd_accel_port 443 # Port of web server
> httpd_accel_single_host on # Forward uncached requests to
> single host httpd_accel_with_proxy on
> httpd_accel_uses_host_header off

The above is for Squid-2.5, and additionally won't do what you are
after.. (2.5 can't).

For Squid-2.6 see the FAQ. Much simpler, and fully capable of doing what
you are after. For https you need to use the https_port directive, which
requires a usable SSL certificate (and key).

http://wiki.squid-cache.org/SquidFaq/ReverseProxy

Regards
Henrik

Received on Wed May 30 2007 - 12:09:45 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:05 MDT