Attachment 'frontend.conf.txt'

Download

   1 # acl are shared among instances
   2 include /usr/local/etc/lab/common.acl.conf
   3 
   4 http_port 3128
   5 
   6 #add backends
   7 cache_peer localhost parent 4001 0 carp login=PASS name=backend-1
   8 cache_peer localhost parent 4002 0 carp login=PASS name=backend-2
   9 
  10 #you want the frontend to have a significant cache_mem
  11 cache_mem 512 MB
  12 
  13 refresh_pattern ^ftp:		1440	20%	10080
  14 refresh_pattern ^gopher:	1440	0%	1440
  15 refresh_pattern -i (/cgi-bin/|\?) 0	0%	0
  16 refresh_pattern .		0	20%	4320
  17 
  18 shutdown_lifetime 3 second
  19 #debug_options all,8
  20 
  21 # change /tmp to your own log directory, e.g. /var/log/squid
  22 access_log /var/log/squid/frontend.access.log
  23 cache_log /var/log/squid/frontend.cache.log
  24 pid_filename /var/log/squid/frontend.pid
  25 
  26 # add user authentication and similar options
  27 http_access allow manager localhost
  28 http_access deny manager
  29 http_access deny !Safe_ports
  30 http_access deny CONNECT !SSL_ports
  31 http_access allow localnet
  32 http_access allow localhost
  33 http_access deny all

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-03-09 09:15:22, 0.4 KB) [[attachment:backend-1.conf.txt]]
  • [get | view] (2009-03-09 09:15:46, 0.4 KB) [[attachment:backend-2.conf.txt]]
  • [get | view] (2009-03-09 09:24:17, 0.6 KB) [[attachment:common.acl.conf.txt]]
  • [get | view] (2009-03-09 09:24:31, 0.4 KB) [[attachment:common.backend.conf.txt]]
  • [get | view] (2009-03-09 09:24:45, 0.9 KB) [[attachment:frontend.conf.txt]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.