mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-09 17:15:18 +00:00
Rename ES_CA_CERT
to ES_CA_FILE
for consistency (#29147)
This commit is contained in:
parent
c07028b2fa
commit
8125dae5a8
|
@ -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