squid3.conf 796 B

123456789101112131415161718192021222324252627282930
  1. acl manager proto cache_object
  2. acl localhost src 127.0.0.1/32 ::1
  3. acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
  4. acl SSL_ports port 442
  5. acl Safe_ports port 80
  6. acl Safe_ports port 21
  7. acl Safe_ports port 443
  8. acl Safe_ports port 70
  9. acl Safe_ports port 210
  10. acl Safe_ports port 1025-65535
  11. acl Safe_ports port 280
  12. acl Safe_ports port 488
  13. acl Safe_ports port 591
  14. acl Safe_ports port 777
  15. acl CONNECT method CONNECT
  16. acl SSH dst xxxxxxxxx
  17. http_access allow SSH
  18. http_access allow manager localhost
  19. http_access deny manager
  20. http_access allow localhost
  21. http_access deny all
  22. http_port 8080
  23. http_port 3128
  24. coredump_dir /var/spool/squid3
  25. refresh_pattern ^ftp: 1440 20% 10080
  26. refresh_pattern ^gopher: 1440 0% 1440
  27. refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
  28. refresh_pattern . 0 20% 4320
  29. visible_hostname LostServer