Search squid archive

cache_peer and HTTP/1.1 in squid3

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

 



Hi, I have webservers on virtual interfaces and SQUID3 in accelerator
on interface with public IP on port 80. I am using "cache_peer" to
forward request to webservers from internet.
This is what I have in configuration file

cache_peer 192.168.0.1 parent 80 0 no-query originserver no-digest name=server1
cache_peer 192.168.0.2 parent 80 0 no-query originserver no-digest name=server2

acl srvone dstdomain binpot.eu
http_access allow srvone
cache_peer_access server1 allow srvone
cache_peer_access server1 deny all

acl srvtwo dstdomain parky.binpot.eu
http_access allow srvtwo
cache_peer_access server2 allow srvtwo
cache_peer_access server2 deny all

It works, but it uses HTTP 1.0 for contact webservers. I want to use
HTTP 1.1. How to achieve this? Or better, how to just forward
_unchanged request_  from internet to webserver and than  _unchanged
request_  from webserver to client? I know squid 2.6 has some
experimental HTTP 1.1 support for this, but I want to use squid3.

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

  Powered by Linux