diff --git a/admin_manual/configuration_server/caching_configuration.rst b/admin_manual/configuration_server/caching_configuration.rst index fdc90e07d..00f028193 100644 --- a/admin_manual/configuration_server/caching_configuration.rst +++ b/admin_manual/configuration_server/caching_configuration.rst @@ -162,11 +162,14 @@ recommended if Redis is running on the same system as Nextcloud) use this exampl Only "host" and "port" variables are required, the other ones are optional. Be sure to set the right permissions on redis.sock so that your webserver can -read and write to it. This might require settingt them to `777` in the Redis -configuration file, typically ``/etc/redis/default.config```:: +read and write to it. For this you typically have to add the webserver user +to the redis group:: - unixsocket /var/run/redis/redis.sock - unixsocketperm 777 + usermod -a -G redis www-data + +You might need to restart apache for the changes to take effect:: + + systemctl restart apache2 Redis is very configurable; consult `the Redis documentation `_ to learn more.