]> git.openstreetmap.org Git - chef.git/commitdiff
Follow X-Forward-For from localhost to see real IP of SSL connections
authorTom Hughes <tom@compton.nu>
Sun, 25 Jan 2015 12:35:42 +0000 (12:35 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 25 Jan 2015 12:35:42 +0000 (12:35 +0000)
cookbooks/squid/templates/default/squid.conf.erb

index 53f84f888014a811136f486ba65f083b72031b20..7236a4dd2780a0c025ac4a83c12374ebc3e1249c 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