]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nginx/attributes/default.rb
Update snap-03 NIC interface names
[chef.git] / cookbooks / nginx / attributes / default.rb
1 # Tuning for access logging
2 default[:nginx][:access_log] = "/var/log/nginx/access.log"
3
4 # Tuning for nginx fastcgi cache zone
5 default[:nginx][:cache][:fastcgi][:enable] = false
6 default[:nginx][:cache][:fastcgi][:directory] = "/var/cache/nginx/fastcgi-cache"
7 default[:nginx][:cache][:fastcgi][:keys_zone] = "fastcgi_cache_zone:48M"
8 default[:nginx][:cache][:fastcgi][:inactive] = "45d"
9 default[:nginx][:cache][:fastcgi][:max_size] = "8192M"
10
11 # Tuning for nginx proxy cache zone
12 default[:nginx][:cache][:proxy][:enable] = false
13 default[:nginx][:cache][:proxy][:directory] = "/var/cache/nginx/proxy-cache"
14 default[:nginx][:cache][:proxy][:keys_zone] = "proxy_cache_zone:128M"
15 default[:nginx][:cache][:proxy][:inactive] = "45d"
16 default[:nginx][:cache][:proxy][:max_size] = "16384M"