Search squid archive

RE: Configuring reverse proxy for both 80/443

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx]
> Sent: Tuesday, March 04, 2008 5:11 PM
> To: squid-users@xxxxxxxxxxxxxxx
> Subject:  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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux