summaryrefslogtreecommitdiff
path: root/manifests/cache.pp
blob: 2f13a94e64cfe0e0b3f4fea0cb9c74f440a27b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class nginx::cache(
  $ensure = 'present',
) {
  file { '/var/cache/nginx':
    ensure  => directory,
    owner   => 'www-data',
    group   => 'www-data',
    mode    => '0700',
  }

  #nginx::config { 'cache':
  #  value => "proxy_cache_path /var/cache/nginx/ levels=1:2 keys_zone=STATIC:10m inactive=24h max_size=1g;\n",
  #}
}