X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1c848471a16f9d1ee1fc8a327af110447ea1ef4c..5fef39842bb8b48f83422b60e8baacc63106ee24:/cookbooks/tilecache/attributes/default.rb diff --git a/cookbooks/tilecache/attributes/default.rb b/cookbooks/tilecache/attributes/default.rb index 2e8471518..a830e0b38 100644 --- a/cookbooks/tilecache/attributes/default.rb +++ b/cookbooks/tilecache/attributes/default.rb @@ -1,12 +1,13 @@ +default[:tilecache][:tile_parent] = "render.openstreetmap.org" -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