Re: [squid-users] how to redirect https 80 requests to a cache listening to https on port 8080

From: nick humphrey <nick.c.humphrey@dont-contact.us>
Date: Fri, 9 Nov 2007 21:13:20 +0100

yeah i tried adding an extra line too and it didn't work. why not? weird
i don't want to use nat on router because i want the reverse proxy benefits...

2007/11/9, Chris Robertson <crobertson@gci.net>:
> nick humphrey wrote:
> > i already have a working configuration listening for ssl/https
> > requests on port 8080, but i also want to forward all requests using
> > port 80 to the same server. what is the trick?
> >
> > here are my relevant lines of working code right now:
> > https_port 8080 cert=/usr/local/squid/etc/key.crt
> > key=/usr/local/squid/etc/key.key defaultsite=mycompany.no-ip.info:8080
> >
> > ...
> > cache_peer 10.0.0.50 parent 8080 0 ssl sslflags=DONT_VERIFY_PEER
> > login=PASS no-query originserver
> >
> > i'm running squid 2.6.STABLE5
> > i tried these combinations without any luck, just get no reponse or a
> > bungled error during reconfigure -k:
> > https_port 8080 80 cert=/usr/local/squid/etc/key.crt
> > key=/usr/local/squid/etc/key.key defaultsite=mycompany.no-ip.info:8080
> >
>
> I don't think http_port or https_port accept more than one port per
> instance. Add another https_port directive, or use the firewall rules
> on your server (ipfw, ipchains, etc.) to perform the redirection.
>
> > thanks
> >
>
> Chris
>
>

-- 
My sites:
http://nickleus.com
http://youtube.com/user/nickleus1977
http://worldphrasebook.net
http://nick.c.humphrey.googlepages.com
http://norgesinternettforum.no
Favorite sites:
http://scriptures.lds.org
http://flickr.com
http://youtube.com
http://facebook.com
http://del.icio.us
http://ccmixter.org
http://google.com
Received on Fri Nov 09 2007 - 13:20:18 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST