neoloc/mediaproxy #92

Merged
unkinben merged 6 commits from neoloc/mediaproxy into develop 2024-07-06 23:24:49 +10:00
Showing only changes of commit 8b01ddba9c - Show all commits

View File

@ -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