Switch tilecache is_browser acl to better defined list
authorGrant Slater <git@firefishy.com>
Wed, 7 Sep 2016 12:23:35 +0000 (13:23 +0100)
committerGrant Slater <git@firefishy.com>
Wed, 7 Sep 2016 12:23:35 +0000 (13:23 +0100)
cookbooks/tilecache/templates/default/squid.conf.erb

index ed2b04c17fb80b6b3d8922d8deea4e3771bd28a8..be4d2be9174da2749b762136dbe7d9ec874e8151 100644 (file)
@@ -62,7 +62,11 @@ http_access deny osmtile_sites osmtileOverusers
 
 # Delay pool when !has_referer and is_browser
 acl has_referer referer_regex .
-acl is_browser browser Mozilla
+acl is_browser browser Chrome\/
+acl is_browser browser Firefox\/
+acl is_browser browser Trident\/
+acl is_browser browser Safari\/
+acl is_browser browser AppleWebKit\/
 
 acl whitelist_path urlpath_regex ^/cgi-bin/(export|debug)
 acl blacklist_path urlpath_regex ^/cgi-bin/