]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nginx/attributes/default.rb
imagery: increase nginx cache size
[chef.git] / cookbooks / nginx / attributes / default.rb
1 # Tuning for nginx fastcgi cache zone
2 default[:nginx][:cache][:fastcgi][:enable] = false
3 default[:nginx][:cache][:fastcgi][:keys_zone] = "fastcgi_cache_zone:32M"
4 default[:nginx][:cache][:fastcgi][:inactive] = "45d"
5 default[:nginx][:cache][:fastcgi][:max_size] = "2048M"
6
7 # Tuning for nginx proxy cache zone
8 default[:nginx][:cache][:proxy][:enable] = false
9 default[:nginx][:cache][:proxy][:keys_zone] = "proxy_cache_zone:32M"
10 default[:nginx][:cache][:proxy][:inactive] = "45d"
11 default[:nginx][:cache][:proxy][:max_size] = "2048M"