Search squid archive

Re: How to set up a reverse proxy server over SSL?

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

 



mån 2006-07-03 klockan 09:17 +0530 skrev Visolve Squid:

> Hello Peng,
> 
> The following steps are used to configure the squid-3.0 with SSL
> 
> Compile squid with the ssl support option
> 
> ./configure --prefix=/usr/local/squid --enable-ssl
> 
> Edit the squid configuration for squid with SSL support (Reverse proxy)
> 
> https_port 443 protocol=http 
> cert=/path/to/server/certificate/server_cert.pem  
> key=/path/to/server/key/server_priv_key.pem vport=<port in which the 
> back end server listen>

almost... you should primarily use defaultsite=your.main.site to enable
reverse proxy mode and maybe vhost is you need to support domain based
virtual hosting. vport is normally not needed. The port number is
specified in cache_peer.

As hinted above you also need a cache_peer line defining the origin
server address and port.

> acl SSL method CONNECT
> never_direct allow SSL

The CONNECT mthod is not applicable to reverse proxies and should
probably be denied entirely...

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


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

  Powered by Linux