X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6c318b6fe4264a277fa130b5a25cf5e6c99236cc..69576ff2b0e2684640d2985e59dc2d21e91facfd:/cookbooks/nginx/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/nginx/attributes/default.rb b/cookbooks/nginx/attributes/default.rb index c6e77de0a..21d22045b 100644 --- a/cookbooks/nginx/attributes/default.rb +++ b/cookbooks/nginx/attributes/default.rb @@ -11,6 +11,9 @@ default[:nginx][:cache][:fastcgi][:max_size] = "8192M" # Tuning for nginx proxy cache zone default[:nginx][:cache][:proxy][:enable] = false default[:nginx][:cache][:proxy][:directory] = "/var/cache/nginx/proxy-cache" -default[:nginx][:cache][:proxy][:keys_zone] = "proxy_cache_zone:48M" +default[:nginx][:cache][:proxy][:keys_zone] = "proxy_cache_zone:128M" default[:nginx][:cache][:proxy][:inactive] = "45d" -default[:nginx][:cache][:proxy][:max_size] = "8192M" +default[:nginx][:cache][:proxy][:max_size] = "16384M" + +# Enable nginx repository +default[:apt][:sources] = node[:apt][:sources] | ["nginx"]