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