projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d8a2dee
)
Only allow HTTP GET tile requests (NOT POST)
author
Grant Slater
<git@firefishy.com>
Sat, 7 Mar 2015 16:48:11 +0000
(16:48 +0000)
committer
Grant Slater
<git@firefishy.com>
Sat, 7 Mar 2015 16:48:22 +0000
(16:48 +0000)
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 ca658c296db59f038c57eea1163c595fb32c502a..1c47a7a836071b538ee6e49d87e3010ec05f51d0 100644
(file)
--- a/
cookbooks/tilecache/templates/default/squid.conf.erb
+++ b/
cookbooks/tilecache/templates/default/squid.conf.erb
@@
-45,7
+45,9
@@
acl blacklist_path urlpath_regex ^/zecmd/
http_access allow osmtile_sites whitelist_path
http_access deny blacklist_path
-http_access allow osmtile_sites
+acl requestMethodGet method GET
+
+http_access allow osmtile_sites requestMethodGet
acl osmtile_nocache_url urlpath_regex \.png/(status|dirty)$
cache deny osmtile_sites osmtile_nocache_url