File: squid.conf

package info (click to toggle)
qtbase-opensource-src 5.15.18%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 351,772 kB
  • sloc: cpp: 2,042,978; ansic: 402,848; xml: 126,413; python: 9,567; java: 7,541; asm: 4,023; sh: 2,093; perl: 2,047; yacc: 1,687; lex: 1,333; javascript: 878; makefile: 271; objc: 70
file content (46 lines) | stat: -rw-r--r-- 1,511 bytes parent folder | download | duplicates (15)
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
45
46
http_port 3128
http_port 3129
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
refresh_pattern ^ftp:        1440    20%    10080
refresh_pattern ^gopher:    1440    0%    1440
refresh_pattern .        0    20%    4320
acl port3128 myport 3128
acl port3129 myport 3129
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80         # http
acl Safe_ports port 21         # ftp
acl Safe_ports port 443 563    # https, snews
acl Safe_ports port 70         # gopher
acl Safe_ports port 210        # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280        # http-mgmt
acl Safe_ports port 488        # gss-http
acl Safe_ports port 591        # filemaker
acl Safe_ports port 777        # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow localhost


# port 3128: no auth required
http_access allow port3128
http_reply_access allow port3128

# port 3129: basic auth
auth_param basic program /usr/lib/squid/basic_ncsa_auth /home/qt-test-server/passwords
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
acl ncsa_users proxy_auth REQUIRED
http_access allow port3129 ncsa_users
http_reply_access allow port3129 ncsa_users

icp_access allow all
coredump_dir /var/cache/squid