squid3.conf 664 B

123456789101112131415161718192021
  1. acl server dst xxxxxxxxx/32 localhost
  2. acl checker src 188.93.95.137
  3. acl ports_ port 14 22 53 21 8080 8081 8000 3128 1193 1194 440 441 442 443 80
  4. http_port 8080
  5. http_port 80
  6. http_access allow server
  7. http_access allow checker
  8. http_access deny all
  9. forwarded_for off
  10. via off
  11. request_header_access Host allow all
  12. request_header_access Content-Length allow all
  13. request_header_access Content-Type allow all
  14. request_header_access All deny all
  15. hierarchy_stoplist cgi-bin ?
  16. coredump_dir /var/spool/squid
  17. refresh_pattern ^ftp: 1440 20% 10080
  18. refresh_pattern ^gopher: 1440 0% 1440
  19. refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
  20. refresh_pattern . 0 20% 4320
  21. visible_hostname Sakai.cf