Merge pull request #321 from saz/patch-1
Fix error message if ssl_cert/ssl_key is not set.
This commit is contained in:
commit
e7890e1025
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ define nginx::resource::vhost (
|
|||
# Check to see if SSL Certificates are properly defined.
|
||||
if ($ssl == true) {
|
||||
if ($ssl_cert == undef) or ($ssl_key == undef) {
|
||||
fail('nginx: SSL certificate/key (ssl_cert/ssl_cert) and/or SSL Private must be defined and exist on the target system(s)')
|
||||
fail('nginx: SSL certificate/key (ssl_cert/ssl_key) and/or SSL Private must be defined and exist on the target system(s)')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue