Tweaking and hardening Nextcloud

A basic Nextcloud install is the first step. We know want to tweak it, and harden the install to be able to manage hundreds of users.

Configuration: Warning on the admin page?

First of all, we check if there are warning on the admin page

once all the warning are gone, we can focus on the tweaking and hardening

Memory caching

You can significantly improve your Nextcloud server performance with memory caching, where frequently-requested objects are stored in memory for faster retrieval. There are two types of caches to use: a PHP opcode cache, which is commonly called opcache, and data cache for your web server, commonly called “memcache”. Configuration of memory caching can be confusing. As our setup involves a single server, we opted for APCu + Redis - Organizations with single-server