SHARE
TWEET

Untitled

a guest Sep 15th, 2012 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. acl all src all
  2. acl manager proto cache_object
  3. acl localhost src 127.0.0.1/32
  4. acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
  5. acl localnet src 192.168.1.0/24 # RFC1918 possible internal network
  6. acl SSL_ports port 443
  7. acl Safe_ports port 53          # DNS
  8. acl Safe_ports port 80          # http
  9. acl Safe_ports port 21          # ftp
  10. acl Safe_ports port 443         # https
  11. acl Safe_ports port 70          # gopher
  12. acl Safe_ports port 210         # wais
  13. acl Safe_ports port 1025-65535  # unregistered ports
  14. acl Safe_ports port 280         # http-mgmt
  15. acl Safe_ports port 488         # gss-http
  16. acl Safe_ports port 591         # filemaker
  17. acl Safe_ports port 777         # multiling http
  18. acl CONNECT method CONNECT
  19. http_access allow manager localhost
  20. http_access deny manager
  21. http_access deny !Safe_ports
  22. http_access deny CONNECT !SSL_ports
  23. http_access deny to_localhost
  24. http_access allow localnet
  25. http_access allow localhost
  26. http_access deny all
  27. icp_access allow localnet
  28. icp_access deny all
  29. http_port 192.168.1.1:3128
  30. hierarchy_stoplist cgi-bin ?
  31.  cache_replacement_policy lru
  32. cache_dir ufs /var/cache/squid 100 16 256
  33.  minimum_object_size 0 KB
  34.  maximum_object_size 4096 KB
  35. logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt
  36. logformat squidmime %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt [%>h] [%<h]
  37. logformat common %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st %Ss:%Sh
  38. logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh
  39. access_log /var/log/squid/access.log squid
  40.  logfile_daemon /usr/sbin/logfile-daemon
  41.  cache_log /var/log/squid/cache.log
  42.  cache_store_log /var/log/squid/store.log
  43.  emulate_httpd_log off
  44.  mime_table /etc/squid/mime.conf
  45.  pid_filename /var/run/squid.pid
  46.  buffered_logs on
  47.  netdb_filename /var/log/squid/netdb.state
  48.  pinger_program /usr/sbin/pinger
  49. refresh_pattern ^ftp:           1440    20%     10080
  50. refresh_pattern ^gopher:        1440    0%      1440
  51. refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
  52. refresh_pattern .               0       20%     4320
  53. refresh_pattern -i \.gif$  43200 100% 43200 override-lastmod override-expire
  54. refresh_pattern -i \.png$  43200 100% 43200 override-lastmod override-expire
  55. refresh_pattern -i \.jpg$  43200 100% 43200 override-lastmod override-expire
  56. refresh_pattern -i \.jpeg$ 43200 100% 43200 override-lastmod override-expire
  57. refresh_pattern -i \.pdf$  43200 100% 43200 override-lastmod override-expire
  58. refresh_pattern -i \.zip$  43200 100% 43200 override-lastmod override-expire
  59. refresh_pattern -i \.tar$  43200 100% 43200 override-lastmod override-expire
  60. refresh_pattern -i \.gz$   43200 100% 43200 override-lastmod override-expire
  61. refresh_pattern -i \.tgz$  43200 100% 43200 override-lastmod override-expire
  62. refresh_pattern -i \.exe$  43200 100% 43200 override-lastmod override-expire
  63. refresh_pattern -i \.prz$  43200 100% 43200 override-lastmod override-expire
  64. refresh_pattern -i \.ppt$  43200 100% 43200 override-lastmod override-expire
  65. refresh_pattern -i \.inf$  43200 100% 43200 override-lastmod override-expire
  66. refresh_pattern -i \.swf$  43200 100% 43200 override-lastmod override-expire
  67. refresh_pattern -i \.mid$  43200 100% 43200 override-lastmod override-expire
  68. refresh_pattern -i \.wav$  43200 100% 43200 override-lastmod override-expire
  69. refresh_pattern -i \.mp3$  43200 100% 43200 override-lastmod override-expire
  70. acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
  71. upgrade_http0.9 deny shoutcast
  72. acl apache rep_header Server ^Apache
  73. broken_vary_encoding allow apache
  74.  cache_effective_user squid
  75.  icp_port 0
  76.  log_icp_queries off
  77. cache deny to_localhost apache
  78. dns_nameservers 93.91.232.242 8.8.8.8 4.4.8.8
  79. hosts_file /etc/hosts
  80. coredump_dir /var/cache/squid
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top