+ mode 0o644
+end
+
+directory "/var/cache/nginx/fastcgi-cache" do
+ owner "www-data"
+ group "root"
+ mode 0o755
+ only_if { node[:nginx][:cache][:fastcgi][:enable] }
+end
+
+directory "/var/cache/nginx/proxy-cache" do
+ owner "www-data"
+ group "root"
+ mode 0o755
+ only_if { node[:nginx][:cache][:proxy][:enable] }