Merge pull request #1858 from RealRancor/redis_password

Add redis password support to caching and files locking docs.
This commit is contained in:
Carla Schroder
2015-11-02 09:02:11 -08:00
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::