neoloc/mediaproxy #92
@ -99,21 +99,6 @@ class profiles::nginx::simpleproxy (
|
||||
# merge the hashes conditionally
|
||||
$nginx_parameters = merge($defaults, $extras_hash)
|
||||
|
||||
## manage cache for nginx
|
||||
#file {'/var/cache/nginx/cache':
|
||||
# ensure => 'directory',
|
||||
# owner => 'nginx',
|
||||
# group => 'root',
|
||||
# mode => '0700',
|
||||
#}
|
||||
|
||||
#file {'/var/cache/nginx/cache_temp':
|
||||
# ensure => 'directory',
|
||||
# owner => 'nginx',
|
||||
# group => 'root',
|
||||
# mode => '0700',
|
||||
#}
|
||||
|
||||
# manage the nginx class
|
||||
class { 'nginx':
|
||||
proxy_cache_path => {
|
||||
@ -131,7 +116,7 @@ class profiles::nginx::simpleproxy (
|
||||
|
||||
# create nginx locations
|
||||
if $use_default_location == false {
|
||||
create_resources('nginx::resource::location', $locations => {'server' => $nginx_vhost})
|
||||
create_resources('nginx::resource::location', $locations)
|
||||
}
|
||||
|
||||
# manage selinux
|
||||
|
||||
Loading…
Reference in New Issue
Block a user