Skip to content

Instantly share code, notes, and snippets.

@Arcath
Created July 14, 2015 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Arcath/8d5a34e0496df4f616b3 to your computer and use it in GitHub Desktop.
Save Arcath/8d5a34e0496df4f616b3 to your computer and use it in GitHub Desktop.
http_port 3128
hierarchy_stoplist cgi-bin ?
cache_mem 1024 MB
cache_dir aufs /squid_cache/cache 81920 16 256
maximum_object_size 5120 MB
cache_store_log /squid_cache/store.log
coredump_dir /var/spool/squid3
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
refresh_pattern -i appldnld\.apple\.com 129600 100% 129600 ignore-reload ignore-no-store override-expire override-lastmod ignore-must-revalidate
refresh_pattern -i phobos\.apple\.com 129600 100% 129600 ignore-reload ignore-no-store override-expire override-lastmod ignore-must-revalidate
quick_abort_min -1 QB
read_ahead_gap 1 MB
positive_dns_ttl 30 seconds
negative_dns_ttl 1 second
minimum_expiry_time 600 seconds
chunked_request_body_max_size 4096 KB
acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl curric src 10.80.64.0/22
http_access allow manager localhost
http_access deny manager
http_access deny to_localhost
http_access allow curric
http_access allow localhost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment