Код: Выделить всё
http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 90 MB
cache_swap_high 95
cache_swap_low 90
maximum_object_size 1024 KB
maximum_object_size_in_memory 512 KB
memory_pools off
cache_dir ufs /usr/local/squid/cache 1300 8 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
error_directory /usr/local/etc/squid/errors/Russian-1251
cache_mgr xxxxx
visible_hostname xxxx
tcp_outgoing_address x.x.x.x
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
ignore_unknown_nameservers on
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.0/8
acl our_networks src 192.168.1.0/24
http_access allow our_networks
http_access allow localhost
http_access allow all
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
coredump_dir /usr/local/squid/cache
pid_filename /usr/local/squid/logs/squid.pid
