summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build7-amd64/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-11-04 14:47:30 +0100
committerHolger Levsen <holger@layer-acht.org>2016-11-04 14:47:30 +0100
commit04d82291c355f268c8087c58bb29c87d0a4d4e2a (patch)
tree7bea997cbd73db65b93ca835d4a74c398eb5c2af /hosts/profitbricks-build7-amd64/etc
parentc317198199546113a64a25511e96da1db07bfcff (diff)
downloadjenkins.debian.net-04d82291c355f268c8087c58bb29c87d0a4d4e2a.tar.xz
apply our changes
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/profitbricks-build7-amd64/etc')
-rw-r--r--hosts/profitbricks-build7-amd64/etc/squid3/squid.conf11
1 files changed, 9 insertions, 2 deletions
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)