summaryrefslogtreecommitdiff
path: root/manifests/cache.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/cache.pp')
-rw-r--r--manifests/cache.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/cache.pp b/manifests/cache.pp
index f7bb25e..bf0b145 100644
--- a/manifests/cache.pp
+++ b/manifests/cache.pp
@@ -1,6 +1,9 @@
class nginx::cache {
file { '/var/cache/nginx':
ensure => directory,
+ owner => 'www-data',
+ group => 'www-data',
+ mode => '0700',
}
file { '/etc/nginx/conf.d/cache.conf' :