forked from mirrors/catstodon
Rename ES_CA_CERT
to ES_CA_FILE
for consistency (#29147)
This commit is contained in:
parent
c07028b2fa
commit
8125dae5a8
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ user = ENV.fetch('ES_USER', nil).presence
|
|||
password = ENV.fetch('ES_PASS', nil).presence
|
||||
fallback_prefix = ENV.fetch('REDIS_NAMESPACE', nil).presence
|
||||
prefix = ENV.fetch('ES_PREFIX') { fallback_prefix }
|
||||
ca_file = ENV.fetch('ES_CA_CERT', nil).presence
|
||||
ca_file = ENV.fetch('ES_CA_FILE', nil).presence
|
||||
|
||||
transport_options = { ssl: { ca_file: ca_file } } if ca_file.present?
|
||||
|
||||
|
|
Loading…
Reference in a new issue