Search squid archive

vhost for reverse proxy - two web applications with one Squid

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

 



Hi,

I am currently using squid 3.0 STABLE19 with the following working config:

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

https_port 443 accel
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

acl reverse_server1 dstdomain server1.mydomain.de

http_access allow reverse_server1
http_access deny all

cache_peer_access server1 allow reverse_server1
cache_peer_access server1 deny all

never_direct allow all

Now I want to integrate a second server running a different web
application in the same config.
The second server should answer over server2.mydomain.de.

I know that there is a vhost functionality in Squid but I just don’t
understand how to use it in this case.
Does this work at all? I could install a second squid for this but
then I would have to use my last precious external IPs (My precious!
:-).

Thanks in advance

Michael



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

  Powered by Linux