]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/squid.conf.erb
Only allow HTTP GET tile requests (NOT POST)
[chef.git] / cookbooks / tilecache / templates / default / squid.conf.erb
index ca658c296db59f038c57eea1163c595fb32c502a..1c47a7a836071b538ee6e49d87e3010ec05f51d0 100644 (file)
@@ -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