mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Update caching_configuration.rst
implement feedback.
This commit is contained in:
parent
2cbc7f3e51
commit
98aa6e77e9
@ -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
|
||||
<http://redis.io/documentation>`_ to learn more.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user