X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c84b138cb20e650c155cf2a7c14f3b34dac8afb1..c6ab57739ce4bd77d5303b653615fa685dbc0cd7:/cookbooks/squid/templates/default/squid.conf.erb diff --git a/cookbooks/squid/templates/default/squid.conf.erb b/cookbooks/squid/templates/default/squid.conf.erb index fe8ed7853..35b336cad 100644 --- a/cookbooks/squid/templates/default/squid.conf.erb +++ b/cookbooks/squid/templates/default/squid.conf.erb @@ -82,9 +82,10 @@ 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}a "%{User-Agent}>h" +logformat zerelog %ts.%03tu %rp "%{Etag}a "%{User-Agent}>h" % @@ -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