File: 0001-Default-configuration-file-for-debian.patch

package info (click to toggle)
squid 5.7-2%2Bdeb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 36,848 kB
  • sloc: cpp: 196,156; ansic: 20,264; makefile: 6,064; sh: 5,267; perl: 2,292; sql: 326; python: 248; awk: 142; sed: 1
file content (44 lines) | stat: -rw-r--r-- 1,263 bytes parent folder | download
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From: Luigi Gangitano <luigi@debian.org>
Date: Sat, 29 Oct 2016 17:55:02 +0200
Subject: Default configuration file for debian

---
 src/cf.data.pre | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/cf.data.pre b/src/cf.data.pre
index 588e0f81..c1356475 100644
--- a/src/cf.data.pre
+++ b/src/cf.data.pre
@@ -1693,11 +1693,12 @@ http_access deny manager
 #
 # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
 #
+include /etc/squid/conf.d/*.conf
 
 # Example rule allowing access from your local networks.
 # Adapt localnet in the ACL section to list your (internal) IP networks
 # from where browsing should be allowed
-http_access allow localnet
+#http_access allow localnet
 http_access allow localhost
 
 # And finally deny all other access to this proxy
@@ -4815,7 +4816,7 @@ DOC_END
 
 NAME: logfile_rotate
 TYPE: int
-DEFAULT: 10
+DEFAULT: 0
 LOC: Config.Log.rotateNumber
 DOC_START
 	Specifies the default number of logfile rotations to make when you
@@ -4839,6 +4840,8 @@ DOC_START
 	in the habit of using 'squid -k rotate' instead of 'kill -USR1
 	<pid>'.
 
+	Note, for Debian/Linux the default of logfile_rotate is
+	zero, since it includes external logfile-rotation methods.
 DOC_END
 
 NAME: mime_table