Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2021
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. forwarded_for delete
  2. via off
  3. follow_x_forwarded_for deny all
  4. request_header_access X-Forwarded-For deny all
  5. acl localnet src 0.0.0.1-0.255.255.255
  6. acl localnet src 10.0.0.0/8
  7. acl localnet src 100.64.0.0/10
  8. acl localnet src 169.254.0.0/16
  9. acl localnet src 172.16.0.0/12
  10. acl localnet src 192.168.0.0/16
  11. acl localnet src fc00::/7
  12. acl localnet src fe80::/10
  13. acl SSL_ports port 443
  14. acl Safe_ports port 80
  15. acl Safe_ports port 21
  16. acl Safe_ports port 443
  17. acl Safe_ports port 70
  18. acl Safe_ports port 210
  19. acl Safe_ports port 1025-65535
  20. acl Safe_ports port 280
  21. acl Safe_ports port 488
  22. acl Safe_ports port 591
  23. acl Safe_ports port 777
  24. acl CONNECT method CONNECT
  25. http_access allow localhost
  26. http_access deny CONNECT
  27. http_access allow localhost manager
  28. http_access deny manager
  29. include /etc/squid/conf.d/*
  30. http_access allow localhost
  31. http_port 3128
  32. coredump_dir /var/spool/squid
  33. refresh_pattern ^ftp: 1440 20% 10080
  34. refresh_pattern ^gopher: 1440 0% 1440
  35. refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
  36. refresh_pattern \/(Packages|Sources)(|\.bz2|\.gz|\.xz)$ 0 0% 0 refresh-ims
  37. refresh_pattern \/Release(|\.gpg)$ 0 0% 0 refresh-ims
  38. refresh_pattern \/InRelease$ 0 0% 0 refresh-ims
  39. refresh_pattern \/(Translation-.*)(|\.bz2|\.gz|\.xz)$ 0 0% 0 refresh-ims
  40. refresh_pattern . 0 20% 4320
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement