diff options
author | Christoph (Sheogorath) Kern | 2018-01-18 11:17:17 +0100 |
---|---|---|
committer | GitHub | 2018-01-18 11:17:17 +0100 |
commit | 8375544dea37f385b9851a8cbd1b264911755ae0 (patch) | |
tree | b63aa2ee5ba87090eb4f2c0f92442467375f9abc /lib/config/defaultSSL.js | |
parent | af082d934761cbc72c14293376f7c2df2367e6b7 (diff) | |
parent | 45976a8916ff2da60bdfb98841f7394fd2659ae7 (diff) |
Merge pull request #636 from laysdra7265/fix/sslcapath
Fix sslcapath bug
Diffstat (limited to '')
-rw-r--r-- | lib/config/defaultSSL.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/defaultSSL.js b/lib/config/defaultSSL.js index 1f1d5590..362c62a1 100644 --- a/lib/config/defaultSSL.js +++ b/lib/config/defaultSSL.js @@ -12,6 +12,6 @@ function getFile (path) { module.exports = { sslkeypath: getFile('/run/secrets/key.pem'), sslcertpath: getFile('/run/secrets/cert.pem'), - sslcapath: getFile('/run/secrets/ca.pem'), + sslcapath: getFile('/run/secrets/ca.pem') !== undefined ? [getFile('/run/secrets/ca.pem')] : [], dhparampath: getFile('/run/secrets/dhparam.pem') } |