]> git.openstreetmap.org Git - chef.git/blob - cookbooks/nginx/attributes/default.rb
Add OSUOSL machines to backup allow list
[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][:keys_zone] = "fastcgi_cache_zone:32M"
7 default[:nginx][:cache][:fastcgi][:inactive] = "45d"
8 default[:nginx][:cache][:fastcgi][:max_size] = "2048M"
9
10 # Tuning for nginx proxy cache zone
11 default[:nginx][:cache][:proxy][:enable] = false
12 default[:nginx][:cache][:proxy][:keys_zone] = "proxy_cache_zone:32M"
13 default[:nginx][:cache][:proxy][:inactive] = "45d"
14 default[:nginx][:cache][:proxy][:max_size] = "2048M"