X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ff044920428608b2c04507ad52d6ab52c9d6555f..6270f0b685e414b82dd311ad99fe4df0c3e2bfd6:/cookbooks/tilecache/attributes/default.rb diff --git a/cookbooks/tilecache/attributes/default.rb b/cookbooks/tilecache/attributes/default.rb index a5a25db11..a830e0b38 100644 --- a/cookbooks/tilecache/attributes/default.rb +++ b/cookbooks/tilecache/attributes/default.rb @@ -1,14 +1,13 @@ +default[:tilecache][:tile_parent] = "render.openstreetmap.org" -default[:tilecache][:tile_parent] = "parent.tile.openstreetmap.org" -default[:tilecache][:tile_siblings] = [] +# 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 -#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" - -default[:tilecache][:ssl][:certificate] = "tile.openstreetmap" +# Enable nginx cache +default[:nginx][:cache][:proxy][:enable] = true