projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6f5ba8
)
Switch tilecache is_browser acl to better defined list
author
Grant Slater
<git@firefishy.com>
Wed, 7 Sep 2016 12:23:35 +0000
(13:23 +0100)
committer
Grant Slater
<git@firefishy.com>
Wed, 7 Sep 2016 12:23:35 +0000
(13:23 +0100)
cookbooks/tilecache/templates/default/squid.conf.erb
patch
|
blob
|
history
diff --git
a/cookbooks/tilecache/templates/default/squid.conf.erb
b/cookbooks/tilecache/templates/default/squid.conf.erb
index ed2b04c17fb80b6b3d8922d8deea4e3771bd28a8..be4d2be9174da2749b762136dbe7d9ec874e8151 100644
(file)
--- a/
cookbooks/tilecache/templates/default/squid.conf.erb
+++ b/
cookbooks/tilecache/templates/default/squid.conf.erb
@@
-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/