From bebbf4a1a76a1cdf0a4ac1bcc8b5b484199678c9 Mon Sep 17 00:00:00 2001 From: Jos Poortvliet Date: Fri, 19 Jul 2019 14:52:51 +0200 Subject: [PATCH] Update caching_configuration.rst implement feedback. --- .../configuration_server/caching_configuration.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/admin_manual/configuration_server/caching_configuration.rst b/admin_manual/configuration_server/caching_configuration.rst index ba177951a..bec01a399 100644 --- a/admin_manual/configuration_server/caching_configuration.rst +++ b/admin_manual/configuration_server/caching_configuration.rst @@ -117,11 +117,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.