From d29e232ae776d75b25b12706c07eec9936fd50bc Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Wed, 16 Feb 2022 15:43:42 +0100 Subject: [PATCH] Add doc to connect to Redis over TLS Signed-off-by: Louis Chemineau --- .../caching_configuration.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/admin_manual/configuration_server/caching_configuration.rst b/admin_manual/configuration_server/caching_configuration.rst index e1a79272f..f71703c0b 100644 --- a/admin_manual/configuration_server/caching_configuration.rst +++ b/admin_manual/configuration_server/caching_configuration.rst @@ -149,6 +149,24 @@ prevent session corruption when using Redis as your session handler: :: More information on configuration of phpredis session handler can be found on the `PhpRedis GitHub page `_ +**Connecting to Redis over TLS:** :: + + 'memcache.locking' => '\OC\Memcache\Redis', + 'memcache.distributed' => '\OC\Memcache\Redis', + 'memcache.local' =>'\OC\Memcache\Redis' , + 'redis' => [ + 'host' => 'tls://127.0.0.1', + 'port' => 6379, + 'user' => 'nextcloud', + 'password' => 'password', + 'ssl_context' => [ + 'local_cert' => '/certs/redis.crt', + 'local_pk' => '/certs/redis.key', + 'cafile' => '/certs/ca.crt', + 'verify_peer_name' => false + ] + ] + Memcached ---------