mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-29 09:00:00 -07:00
add TLS configuration for redis/keydb connection
This commit is contained in:
7
dist/example_config_redis.yaml
vendored
7
dist/example_config_redis.yaml
vendored
@@ -70,6 +70,13 @@ storage:
|
||||
# only first address used
|
||||
addresses: ["127.0.0.1:6379"]
|
||||
|
||||
# Use TLS for connecting to specified addresses.
|
||||
tls: false
|
||||
|
||||
# Trusted CA certificates to check while TLS connection.
|
||||
# If not provided, system certificates used.
|
||||
ca_certs: []
|
||||
|
||||
# Database to be selected after connecting to the server.
|
||||
db: 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user