squid3.conf 808 B

12345678910111213141516171819202122232425262728293031
  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 8000
  24. http_port 3128
  25. coredump_dir /var/spool/squid3
  26. refresh_pattern ^ftp: 1440 20% 10080
  27. refresh_pattern ^gopher: 1440 0% 1440
  28. refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
  29. refresh_pattern . 0 20% 4320
  30. visible_hostname Horasss