]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/squid/templates/default/squid.conf.erb
Use the tile.openstreetmap.org certificate for the GPS tile server
[chef.git] / cookbooks / squid / templates / default / squid.conf.erb
index 8bf4ef100c282a99d497fd72511936934d2bc7e4..e615f887bf2b5167cc0e23d467afaaa77338a2d3 100644 (file)
@@ -80,6 +80,10 @@ http_access deny purge
 
 forwarded_for on
 
+#Loggin used for analysis
+logformat zerelog %ts.%03tu %rp "%{Etag}<h" %>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
@@ -87,7 +91,7 @@ buffered_logs on
 client_db off
 strip_query_terms off
 
-digest_generation off
+digest_generation on
 
 refresh_pattern .              0       20%     4320