I have fresh install of nextcloud, I already had redis installed up and running from previous installation, so I added the config to make use of redis but I am not getting any performance improvements.
Here is my config:
<?php
$CONFIG = array (
'memcache.local' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => 'true',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '192.168.1.20',
'port' => 7001,
'timeout' => 0.0,
'password' => '',
'dbindex' => 0,
),
'trusted_domains' =>
array (
0 => '192.168.1.20',
),
'datadirectory' => '/mnt/storage/data',
'dbtype' => 'mysql',
'version' => '24.0.2.1',
'overwrite.cli.url' => 'https://192.168.1.20/nextcloud',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'user',
'dbpassword' => 'secretPassword!',
'installed' => true,
'session_lifetime' => 86400,
'session_keepalive' => true,
'has_rebuilt_cache' => true,
);