Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. #Recommended minimum configuration:
  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
  5. acl localnet src 0.0.0.0/8 192.168.100.0/24 192.168.101.0/24
  6. acl SSL_ports port 443
  7. acl Safe_ports port 80 # http
  8. acl Safe_ports port 21 # ftp
  9. acl Safe_ports port 443 # https
  10. acl Safe_ports port 70 # gopher
  11. acl Safe_ports port 210 # wais
  12. acl Safe_ports port 1025-65535 # unregistered ports
  13. acl Safe_ports port 280 # http-mgmt
  14. acl Safe_ports port 488 # gss-http
  15. acl Safe_ports port 591 # filemaker
  16. acl Safe_ports port 777 # multiling http
  17.  
  18. acl CONNECT method CONNECT
  19.  
  20. #http_access allow manager localhost
  21. #http_access deny manager
  22. #http_access deny !Safe_ports
  23.  
  24. #http_access deny to_localhost
  25. #icp_access deny all
  26. #htcp_access deny all
  27.  
  28. http_port 0.0.0.0:443
  29.  
  30.  
  31. #Suggested default:
  32. refresh_pattern ^ftp: 1440 20% 10080
  33. refresh_pattern ^gopher: 1440 0% 1440
  34. refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
  35. refresh_pattern . 0 20% 4320
  36. # Leave coredumps in the first cache dir
  37. coredump_dir /var/spool/squid3
  38.  
  39. # Allow all machines to all sites
  40. http_access allow all
  41.  
  42. visible_hostname ubuntu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement