Stop using $root from upper scopes
This commit is contained in:
parent
e87864b7f9
commit
60a9a823b4
1 changed files with 1 additions and 0 deletions
|
@ -396,6 +396,7 @@ define nginx::resource::vhost (
|
|||
notify => Class['nginx::service'],
|
||||
rewrite_rules => $rewrite_rules,
|
||||
}
|
||||
$root = undef
|
||||
} else {
|
||||
$root = $www_root
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue