X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..8f44145bec3b4afb29989d4cf3e97ad619e5375f:/cookbooks/squid/templates/default/squid.conf.erb?ds=sidebyside diff --git a/cookbooks/squid/templates/default/squid.conf.erb b/cookbooks/squid/templates/default/squid.conf.erb index 72ff97740..e615f887b 100644 --- a/cookbooks/squid/templates/default/squid.conf.erb +++ b/cookbooks/squid/templates/default/squid.conf.erb @@ -6,7 +6,9 @@ cache_mem <%= node[:squid][:cache_mem] %> max_filedescriptors 65536 #used by squidclient / munin -http_port 127.0.0.1:3128 +http_port 3128 +#ICP +icp_port 3130 #FIXME - configurable http_port 80 accel defaultsite=tile.openstreetmap.org tcpkeepalive=60,10,6 http11 @@ -78,6 +80,10 @@ http_access deny purge forwarded_for on +#Loggin used for analysis +logformat zerelog %ts.%03tu %rp "%{Etag}a "%{User-Agent}>h" +access_log /var/log/squid/zere.log zerelog + access_log <%= node[:squid][:access_log] %> cache_log /var/log/squid/cache.log cache_store_log none @@ -85,7 +91,7 @@ buffered_logs on client_db off strip_query_terms off -digest_generation off +digest_generation on refresh_pattern . 0 20% 4320