<div>Hello all,</div>
<div> </div>
<div>I have a setup question about squid that I was hoping someone here could help with. We are trying to set this up as a reverse proxy and have ran into a small stumbling block. We have setup the reverse proxy so that it is listening on both port 80 and 443 as well as using our wild card cert. I believe my issue is with the way I am mapping my server to the site name.</div>
<div> </div>
<div>here is my mapping. If you want other pieces of the config file, I can send those as well.</div>
<div> </div>
<div>cache_peer 10.240.0.238 parent 443 0 no-query originserver ssl sslflags=DONT_VERIFY_PEER name=rpsite</div>
<div>acl site_rpsite dstdomain <a href="http://rpsite.site.com">rpsite.site.com</a><br>cache_peer_access rpsite allow site_rpsite</div>
<div> </div>
<div> </div>
<div>So, with the above, when I go to <a href="https://rpsite.site.com/">https://rpsite.site.com</a> everything works as I would expect.</div>
<div> </div>
<div>The issue pops up when I try and go to <a href="http://rpsite.site.com/">http://rpsite.site.com</a> . by appearance it works, but only leaving the browser show it as unencrypted. I believe what is happening is I am communicating with my proxy over port 80, but the proxy is talking to the webserver over port 443. The question I am trying to figure out is how to allow <a href="http://rpsite.site.com/">http://rpsite.site.com</a> to hit my port 80 internally and allow the web server to do its own redirect thing to send my browser to port 443 (my <a href="https://rpsite.site.com/">https://rpsite.site.com</a>). </div>
<div> </div>
<div>I have been searching, but have not really found a way to allow https and http with the same domain to go to two different ports on the same webserver. If anyone has any ideas I am more then ears on this. Also, if I am unclear in my explaining, please feel free to ask me again what I am trying to say.</div>
<div> </div>
<div>Jason</div>
<div> </div>
<div><br> </div>