User Tools

Site Tools


linux:squid

This is an old revision of the document!


squid configuration on Linux

Additional to the stock squid.conf file, tested on squid 3.5

shutdown_lifetime 1 seconds
buffered_logs on
dns_nameservers <ns1> <ns2>
visible_hostname <hostname>
digest_generation off
client_db off
memory_pools off
cache_mem XXXX MB
maximum_object_size_in_memory XX MB
#workers <num_cpu>
#cpu_affinity_map process_numbers=1,2,3,4,.. cores=1,2,3,4,..
#dns_v4_first on
pipeline_prefetch 3

acl rfc1918 dst 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
cache deny rfc1918

accept_filter data
linux/squid.1523176403.txt.gz · Last modified: 2018/04/08 11:33 by cbredi