You want something like this:
http_port 80 defaultsite=www.example.com vhost
https_port 443 cert=example.crt key=example.key
defaultsite=www.example.com vhost
#
acl example_sites dstdomain www.example.com example.com
acl example_ssl proto HTTPS
#
cache_peer 127.0.0.1 parent 1443 0 no-query originserver ssl
name=example_ssl
cache_peer_access example_ssl allow example_sites example_ssl
#
cache_peer 127.0.0.1 parent 1080 0 no-query originserver
name=example_http
cache_peer_access example_http allow example_sites
> -----Original Message-----
> From: Nick Duda [mailto:nduda@VistaPrint.com]
> Sent: Tuesday, March 04, 2008 5:11 PM
> To: squid-users@squid-cache.org
> Subject: [squid-users] Configuring reverse proxy for both 80/443
>
> I seem to be stumped. I need to reverse proxy for one internal server
> that listens on both 80 and 443. How can I configure squid to proxy
for
> the same cache-peer on both 80 and 443? As far as I can see you can
only
> specify one protocol per cache-peer line. I think I am missing
> something.
>
> - Nick
Received on Wed Mar 05 2008 - 08:54:08 MST
This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:04 MDT