]> git.pld-linux.org Git - packages/squid.git/blame - squid.conf.patch
- up to 4.2
[packages/squid.git] / squid.conf.patch
CommitLineData
50e75865
JR
1--- squid.conf.default 2010-09-08 13:45:20.000000000 +0200
2+++ squid.conf 2010-09-08 17:29:24.765819003 +0200
3@@ -43,7 +43,7 @@
3a7147f5 4 # We strongly recommend the following be uncommented to protect innocent
5 # web applications running on the proxy server who think the only
6 # one who can access services on "localhost" is a local user
7-#http_access deny to_localhost
8+http_access deny to_localhost
50e75865 9
3a7147f5 10 #
11 # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
50e75865
JR
12@@ -65,7 +65,8 @@
13 hierarchy_stoplist cgi-bin ?
3a7147f5 14
50e75865
JR
15 # Uncomment and adjust the following to add a disk cache directory.
16-#cache_dir ufs /var/cache/squid 100 16 256
17+# NOTE: Remeber to initialize cache directories: squid -z -F
63fb169a 18+cache_dir diskd /var/cache/squid 100 16 256
245ce972 19
50e75865
JR
20 # Leave coredumps in the first cache dir
21 coredump_dir /var/cache/squid
22@@ -75,3 +76,12 @@
23 refresh_pattern ^gopher: 1440 0% 1440
24 refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
25 refresh_pattern . 0 20% 4320
26+
27+# Default value for logfile_rotate is 10, but PLD uses 'logrotate',
28+# which is more configurable, to perform this task. Setting this
29+# value to '0' disables built-in log rotation and allows 'logrotate'
30+# to do it's job.
245ce972 31+logfile_rotate 0
50e75865 32+
3a7147f5 33+cache_effective_user squid
3a7147f5 34+cache_effective_group squid
This page took 0.099533 seconds and 4 git commands to generate.