I recently discovered Redis and started installing it on some of my Nexxtcloud servers to replace APCU which was giving me some headaches (for example it was causing problem with my CRON’s because there is no PHP command line APCU, well maybe there is but I couldn’t make it work).
I also tried it on a server with Wordpress and after some research was able to make it work nicely. The Wordpress config (with a Redis extension) has a specific line to define a constant “WP_CACHE_KEY_SALT” to have a unique key for each Wordpress using that same Redis server. Usually people use the domain name of the Wordpress as a salt.
I was wondering if there is something similar with Nextcloud and/or Redis to specify a specific “salt” for each Nextcloud using a single Redis server.
For example I have 3 nextcloud instances on one server and just only one Redis server on that same machine, what makes Redis know which nextcloud is talking ?
Maybe it’s a stupid question, if not any idea/input would be welcomed !
Pierre.
The Redis configuration is described in the administrator guide. Please have a closer look on the **`‘dbindex’ ** parameter which should be used to separate multiple Redis instances: