X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..c9bac0802fe6ca5a21d8038a71973f1992610a79:/cookbooks/tilecache/attributes/default.rb diff --git a/cookbooks/tilecache/attributes/default.rb b/cookbooks/tilecache/attributes/default.rb index 2e8471518..56f490e86 100644 --- a/cookbooks/tilecache/attributes/default.rb +++ b/cookbooks/tilecache/attributes/default.rb @@ -1,12 +1,14 @@ +default[:tilecache][:tile_parent] = "render.openstreetmap.org" +default[:tilecache][:tile_siblings] = [] -default[:tilecache][:tile_parent] = "parent.tile.openstreetmap.org" - -#Per IP bucket refill rate -default[:tilecache][:ip_bucket_refill] = "8192" -#Per IP bucket size -default[:tilecache][:ip_bucket_size] = "16777216" -#Per Class C refill rate -default[:tilecache][:net_bucket_refill] = "32768" -#Per Class C bucket size -default[:tilecache][:net_bucket_size] = "33554432" +# Per IP bucket refill rate +default[:tilecache][:ip_bucket_refill] = 4096 +# Per IP bucket size +default[:tilecache][:ip_bucket_size] = 67108864 +# Per Class C refill rate +default[:tilecache][:net_bucket_refill] = 8192 +# Per Class C bucket size +default[:tilecache][:net_bucket_size] = 134217728 +# Enable nginx cache +default[:nginx][:cache][:proxy][:enable] = true