Fix wrong option for TLS
This commit is contained in:
parent
910b415561
commit
930c457f4b
|
@ -8,7 +8,7 @@ const elasticOptions = {
|
||||||
|
|
||||||
if (CONFIG.ELASTIC_SEARCH.SSL.CA) {
|
if (CONFIG.ELASTIC_SEARCH.SSL.CA) {
|
||||||
Object.assign(elasticOptions, {
|
Object.assign(elasticOptions, {
|
||||||
ssl: {
|
tls: {
|
||||||
ca: readFileSync(CONFIG.ELASTIC_SEARCH.SSL.CA)
|
ca: readFileSync(CONFIG.ELASTIC_SEARCH.SSL.CA)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue