]> git.pld-linux.org Git - packages/squid.git/blob - squid.conf.patch
do not use builder's CPU instruction set, leads to SIGILL on older x86_64
[packages/squid.git] / squid.conf.patch
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 @@
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
9  
10  #
11  # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
12 @@ -65,7 +65,8 @@
13  hierarchy_stoplist cgi-bin ?
14  
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
18 +cache_dir diskd /var/cache/squid 100 16 256
19  
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.
31 +logfile_rotate 0
32 +
33 +cache_effective_user squid
34 +cache_effective_group squid
This page took 0.030588 seconds and 3 git commands to generate.