~cjwatson/charms/precise/squid-forwardproxy/umask

« back to all changes in this revision

Viewing changes to data/config.example

  • Committer: Alexander List
  • Date: 2013-01-08 11:33:39 UTC
  • Revision ID: alexander.list@canonical.com-20130108113339-6yzpmpkmmcf88ea0
move templates to separate subdirectory, delete example config and delete data directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
http_port 3128 accel vport=443
2
 
 
3
 
acl all src 0.0.0.0/0.0.0.0
4
 
acl manager proto cache_object
5
 
acl localhost src 127.0.0.1/255.255.255.255
6
 
acl to_localhost dst 127.0.0.0/8
7
 
acl PURGE method PURGE
8
 
acl CONNECT method CONNECT
9
 
 
10
 
acl snmp_access snmp_community GaRbAgE
11
 
acl snmp_source src 127.0.0.1/255.255.255.255
12
 
snmp_access allow snmp_access snmp_source
13
 
snmp_access deny all
14
 
snmp_port 3401
15
 
snmp_incoming_address 127.0.0.1
16
 
 
17
 
logformat combined %>a %ui %un [%tl] “%rm %ru HTTP/%rv” %Hs %<st “%{Referer}>h” “%{User-Agent}>h” %Ss:%Sh
18
 
access_log /var/log/squid/access.log combined
19
 
 
20
 
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
21
 
 
22
 
hosts_file /etc/hosts
23
 
 
24
 
coredump_dir /var/spool/squid
25
 
maximum_object_size 8192 KB
26
 
cache_dir aufs /var/spool/squid 512 32 512
27
 
 
28
 
cache_mem 256 MB
29
 
 
30
 
log_mime_hdrs on
31
 
 
32
 
acl accel_ports myport 3128
33
 
 
34
 
http_access allow manager localhost
35
 
http_access deny manager
36
 
http_access allow PURGE localhost
37
 
# deny silly methods
38
 
http_access deny PURGE
39
 
http_access deny CONNECT
40
 
http_access deny accel_ports all
41
 
http_access deny all
42
 
icp_access deny all