Merge pull request #248 from PierreR/patch-1
Avoid creating undef variable
This commit is contained in:
commit
26a856e338
1 changed files with 1 additions and 3 deletions
|
@ -357,9 +357,7 @@ define nginx::resource::vhost (
|
|||
notify => Class['nginx::service'],
|
||||
}
|
||||
|
||||
if ($ssl == true) and ($ssl_port == $listen_port) {
|
||||
$ssl_only = true
|
||||
}
|
||||
$ssl_only = ($ssl == true) and ($ssl_port == $listen_port)
|
||||
|
||||
if $use_default_location == true {
|
||||
# Create the default location reference for the vHost
|
||||
|
|
Loading…
Reference in a new issue