]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/squid/templates/default/squid.conf.erb
Drop support for old Ubuntu versions from squid cookbook
[chef.git] / cookbooks / squid / templates / default / squid.conf.erb
index 53f84f888014a811136f486ba65f083b72031b20..35b336cada2eed2794e54f9eeaf2ebe05f4d1802 100644 (file)
@@ -82,6 +82,7 @@ http_access allow purge purge_hosts
 http_access deny purge
 
 forwarded_for on
+follow_x_forwarded_for allow localhost
 
 #Loggin used for analysis
 logformat zerelog %ts.%03tu %rp "%{Etag}<h" %>a "%{User-Agent}>h" %<st
@@ -96,7 +97,7 @@ strip_query_terms off
 
 digest_generation on
 
-refresh_pattern .              0       20%     4320
+refresh_pattern .              0       50%     8640
 
 #ZERO required for logrotate to work properly
 logfile_rotate 0