From 04d82291c355f268c8087c58bb29c87d0a4d4e2a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 4 Nov 2016 14:47:30 +0100 Subject: apply our changes Signed-off-by: Holger Levsen --- hosts/profitbricks-build7-amd64/etc/squid3/squid.conf | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'hosts') diff --git a/hosts/profitbricks-build7-amd64/etc/squid3/squid.conf b/hosts/profitbricks-build7-amd64/etc/squid3/squid.conf index 0f148270..9f4b4272 100644 --- a/hosts/profitbricks-build7-amd64/etc/squid3/squid.conf +++ b/hosts/profitbricks-build7-amd64/etc/squid3/squid.conf @@ -972,7 +972,7 @@ # Example rule allowing access from your local networks. # Adapt to list your (internal) IP networks from where browsing # should be allowed -#acl localnet src 10.0.0.0/8 # RFC1918 possible internal network +acl localnet src 10.0.0.0/8 # RFC1918 possible internal network #acl localnet src 172.16.0.0/12 # RFC1918 possible internal network #acl localnet src 192.168.0.0/16 # RFC1918 possible internal network #acl localnet src fc00::/7 # RFC 4193 local private network range @@ -1187,7 +1187,7 @@ http_access deny manager # Example rule allowing access from your local networks. # Adapt localnet in the ACL section to list your (internal) IP networks # from where browsing should be allowed -#http_access allow localnet +http_access allow localnet http_access allow localhost # And finally deny all other access to this proxy @@ -3287,6 +3287,7 @@ http_port 3128 # See cache_replacement_policy for a discussion of this policy. #Default: # maximum_object_size 4 MB +maximum_object_size 153600 KB # TAG: cache_dir # Format: @@ -3445,6 +3446,7 @@ http_port 3128 # Uncomment and adjust the following to add a disk cache directory. #cache_dir ufs /var/spool/squid 100 16 256 +cache_dir ufs /var/spool/squid3 16384 16 1024 # TAG: store_dir_select_algorithm # How Squid selects which cache_dir to use when the response @@ -4870,6 +4872,11 @@ coredump_dir /var/spool/squid refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 +refresh_pattern /(|In)Release(|\.gpg)$ 0 0% 0 +refresh_pattern /(Packages|Sources)(|\.gz|\.bz2|\.xz)$ 0 0% 0 +refresh_pattern \.deb$ 129600 100% 129600 +refresh_pattern \.udeb$ 129600 100% 129600 +refresh_pattern \.tar\.(gz|bz2|xz|lzma)$ 129600 100% 129600 refresh_pattern . 0 20% 4320 # TAG: quick_abort_min (KB) -- cgit v1.2.3-70-g09d2