mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 18:26:42 +07:00
Update caching_configuration.rst
implement feedback.
This commit is contained in:
@@ -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
|
||||
<http://redis.io/documentation>`_ to learn more.
|
||||
|
||||
Reference in New Issue
Block a user