Add redis password support to caching and files locking docs.

This commit is contained in:
RealRancor
2015-10-31 19:58:11 +01:00
parent 05d716fc60
commit 016d9a536e
2 changed files with 8 additions and 0 deletions

View File

@@ -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::

View File

@@ -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::