From eeb72d5e9be8720692d5d7cfc46973c44d5f6b17 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Mon, 3 Aug 2020 21:24:25 +0100 Subject: [PATCH] changed cpnfig for spool directory --- squid.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/squid.conf b/squid.conf index b53fd05..b29337c 100644 --- a/squid.conf +++ b/squid.conf @@ -12,6 +12,7 @@ acl localnet src fc00::/7 # RFC 4193 local private network range acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines acl SSL_ports port 443 +acl SSL_ports port 5003 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https @@ -67,7 +68,7 @@ http_port 3128 #cache_dir ufs /var/cache/squid 1024 16 256 ## Better, use 'aufs' cache type, see ##http://www.squid-cache.org/Doc/config/cache_dir/ for info. -#cache_dir aufs /var/cache/squid 1024 16 256 +cache_dir aufs /var/spool/squid 10240 16 256 ## Recommended to only change cache type when squid is stopped, and use 'squid -z' to ## ensure cache is (re)created correctly @@ -75,9 +76,9 @@ http_port 3128 #coredump_dir /var/cache/squid ## Where does Squid log to? -#access_log /var/log/squid/access.log +access_log /var/log/squid/access.log ## Use the below to turn off access logging -access_log none +#access_log none ## When logging, web auditors want to see the full uri, even with the query terms #strip_query_terms off ## Keep 7 days of logs