From e084c543767502d54a291519f1b3a4510bb25b9b Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Mon, 2 Nov 2015 15:32:56 +0000 Subject: [PATCH] Update squid element to reflect current usage This squid config file reflects the squid currently used in our tripleo ci rack. Update it to reflect what we currently have. Change-Id: I512f19da5009c0d368e54649c9339035efb6908a --- elements/squid/os-apply-config/etc/squid/squid.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elements/squid/os-apply-config/etc/squid/squid.conf b/elements/squid/os-apply-config/etc/squid/squid.conf index ea807e0fa..3d9389d4c 100644 --- a/elements/squid/os-apply-config/etc/squid/squid.conf +++ b/elements/squid/os-apply-config/etc/squid/squid.conf @@ -50,7 +50,7 @@ http_port 3128 # maximum_object_size must come before cache_dir to be active maximum_object_size 1024 MB -cache_dir aufs /var/spool/squid 4096 16 256 +cache_dir aufs /var/spool/squid 8192 16 256 # Leave coredumps in the first cache dir coredump_dir /var/spool/squid @@ -60,5 +60,6 @@ coredump_dir /var/spool/squid # refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 +refresh_pattern -i repomd.xml$ 0 0% 0 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 refresh_pattern . 0 20% 1440