squid.conf 653 B

12345678910111213141516171819202122232425
  1. acl SSL_ports port 443
  2. acl Safe_ports port 80
  3. acl Safe_ports port 21
  4. acl Safe_ports port 443
  5. acl Safe_ports port 70
  6. acl Safe_ports port 210
  7. acl Safe_ports port 1025-65535
  8. acl Safe_ports port 280
  9. acl Safe_ports port 488
  10. acl Safe_ports port 591
  11. acl Safe_ports port 777
  12. acl CONNECT method CONNECT
  13. acl SSH dst ip/32
  14. http_access allow SSH
  15. http_access allow manager localhost
  16. http_access deny manager
  17. http_access allow localhost
  18. http_access deny all
  19. http_port 8080
  20. coredump_dir /var/spool/squid
  21. refresh_pattern ^ftp: 1440 20% 10080
  22. refresh_pattern ^gopher: 1440 0% 1440
  23. refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
  24. refresh_pattern . 0 20% 4320
  25. visible_hostname xx