Search squid archive

Re: vhost for reverse proxy - two web applications with one Squid

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

 



Hi Amos,

thanks for the help. If I understand you correctly this would result
in a config like the one below.
But how do I include a second certificate? Do I need to use a wildcard
cert? I believe I can't use the https_port twice.

Thanks Michael

access_log /var/log/squid/access.log squid

https_port 443 vhost
cert=/etc/ssl/reverse_proxy/server1.mydomain.de.cert
key=/etc/ssl/reverse_proxy/server1.mydomain.de.key
defaultsite=server1.mydomain.de
cache_peer 192.168.1.100 parent 8080 0 originserver no-query
name=server1 forceddomain=server1.mydomain.de
cache_peer 192.168.1.101 parent 8080 0 originserver no-query
name=server2 forceddomain=server2.mydomain.de

acl reverse_server1 dstdomain server1.mydomain.de
acl reverse_server2 dstdomain server2.mydomain.de

http_access allow reverse_server1
http_access allow reverse_server2
http_access deny all

cache_peer_access server1 allow reverse_server1
cache_peer_access server1 deny all

never_direct allow all


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

  Powered by Linux