-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsquid.conf.patch
More file actions
25 lines (23 loc) · 889 Bytes
/
squid.conf.patch
File metadata and controls
25 lines (23 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- squid.conf.default 2010-09-08 13:45:20.000000000 +0200
+++ squid.conf 2010-09-08 17:29:24.765819003 +0200
@@ -65,7 +65,8 @@
hierarchy_stoplist cgi-bin ?
# Uncomment and adjust the following to add a disk cache directory.
-#cache_dir ufs /var/cache/squid 100 16 256
+# NOTE: Remeber to initialize cache directories: squid -z -F
+cache_dir diskd /var/cache/squid 100 16 256
# Leave coredumps in the first cache dir
coredump_dir /var/cache/squid
@@ -75,3 +76,12 @@
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
+
+# Default value for logfile_rotate is 10, but PLD uses 'logrotate',
+# which is more configurable, to perform this task. Setting this
+# value to '0' disables built-in log rotation and allows 'logrotate'
+# to do it's job.
+logfile_rotate 0
+
+cache_effective_user squid
+cache_effective_group squid