Setting up a new Squid install as a reverse proxy into the network.
I need it to accept requests for a single url over http or https, and forward it internally to a host running on a non standard port for http and https.
What I've done:
Loaded ubuntu 10.04 LTS.
Installed squid using --enable SSL install method.
Added in the wildcard cert for my domain in openSSL and verified.
DNS A record for public is in place and working.
All good up tho there I believe.
Now for squid. I want to have any request for either http on 80 or httpson 443 "thisurl.mydomain.com" to get accepted by squid and forwarded to an internal host IP (lets say 10.10.10.10) port 8080 for http and 4443 for https. I also need to forward the original host header to the internal host as well.
Can someone give me a basic skeleton for a squid.conf to support this setup?