X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/09e86f797624a3b8356089d6e79c2debaa6b8055..3b563e12600d3519011cde414ee0465698a7814f:/cookbooks/tilecache/attributes/default.rb diff --git a/cookbooks/tilecache/attributes/default.rb b/cookbooks/tilecache/attributes/default.rb index be6944bdc..a830e0b38 100644 --- a/cookbooks/tilecache/attributes/default.rb +++ b/cookbooks/tilecache/attributes/default.rb @@ -1,15 +1,13 @@ - -default[:tilecache][:tile_parent] = "parent.tile.openstreetmap.org" -default[:tilecache][:tile_siblings] = [] - -#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" - -default[:tilecache][:ssl][:certificate] = "tile.openstreetmap" - +default[:tilecache][:tile_parent] = "render.openstreetmap.org" + +# 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