mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 10:20:02 +07:00
Add redis password support to caching and files locking docs.
This commit is contained in:
@@ -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::
|
||||
|
||||
@@ -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::
|
||||
|
||||
Reference in New Issue
Block a user