From 016d9a536e609125cdbfe0be5efa46d67c700d7d Mon Sep 17 00:00:00 2001 From: RealRancor Date: Sat, 31 Oct 2015 19:58:11 +0100 Subject: [PATCH] Add redis password support to caching and files locking docs. --- .../configuration_files/files_locking_transactional.rst | 4 ++++ admin_manual/configuration_server/caching_configuration.rst | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/admin_manual/configuration_files/files_locking_transactional.rst b/admin_manual/configuration_files/files_locking_transactional.rst index e7211ccdd..f87912d3b 100644 --- a/admin_manual/configuration_files/files_locking_transactional.rst +++ b/admin_manual/configuration_files/files_locking_transactional.rst @@ -33,8 +33,12 @@ file like this example:: 'host' => 'localhost', 'port' => 6379, 'timeout' => 0.0, + 'password' => '', // Optional, if not defined no password will be used. ), +.. note:: For enhanced security it is recommended to configure Redis to require + a password. See http://redis.io/topics/security for more information. + If you want to connect to Redis configured to listen on an unix socket (which is recommended if Redis is running on the same system as ownCloud) use this example ``config.php`` configuration:: diff --git a/admin_manual/configuration_server/caching_configuration.rst b/admin_manual/configuration_server/caching_configuration.rst index 11960106e..af55e4f23 100644 --- a/admin_manual/configuration_server/caching_configuration.rst +++ b/admin_manual/configuration_server/caching_configuration.rst @@ -178,8 +178,12 @@ Redis for the local server cache:: 'host' => 'localhost', 'port' => 6379, 'timeout' => 0.0, + 'password' => '', // Optional, if not defined no password will be used. ), +.. note:: For enhanced security it is recommended to configure Redis to require + a password. See http://redis.io/topics/security for more information. + If you want to connect to Redis configured to listen on an unix socket (which is recommended if Redis is running on the same system as ownCloud) use this example ``config.php`` configuration::