Configuring NextCloud
๐ Purpose
This document outlines key configuration insights for the **Nextcloud All-in-One (AIO)** instance running at cloud.mslspartners.com
. > โ ๏ธ Note: This instance is managed by Nextcloud AIO. Most settings shown here are auto-generated and should not be edited manually via config.php
. Instead, use: > - The Nextcloud AIO web interface > - Environment variables when launching the AIO container > - The admin UI in Nextcloud for app and email configurations ---
๐ Domain and Protocol
"overwritehost": "cloud.mslspartners.com",
"overwriteprotocol": "https",
"trusted_domains": [
"localhost",
"cloud.mslspartners.com"
],
"overwrite.cli.url": "https://cloud.mslspartners.com/"
- These are set automatically based on AIO setup and HTTPS configuration - Trusted domains should be managed via the AIO panel or container setup ---
๐ง Caching (Managed by AIO)
"memcache.local": "\OC\Memcache\APCu",
"memcache.distributed": "\OC\Memcache\Redis",
"memcache.locking": "\OC\Memcache\Redis"
- Redis and APCu are preconfigured in AIO - No manual configuration is required unless for advanced troubleshooting ---
๐ Logging
"loglevel": 2,
"log_type": "file",
"logfile": "/var/www/html/data/nextcloud.log",
"log_rotate_size": 10485760
- Logs are written inside the Nextcloud container - You can access logs via the AIO logs interface or docker logs command ---
๐ง Maintenance & Updates
"maintenance": false,
"upgrade.disable-web": true,
"updatedirectory": "/nc-updater"
- Updates are handled automatically or via the AIO web UI - Do not perform upgrades using the traditional CLI or web updater ---
๐ฅ User Limits & AIO Flags
"one-click-instance": true,
"one-click-instance.user-limit": 100,
"one-click-instance.link": "https://nextcloud.com/all-in-one/"
- Indicates this is an AIO deployment - The user limit can be adjusted via environment or licensing ---
๐พ Storage
"datadirectory": "/mnt/ncdata"
- The data directory is mounted via Docker volume or external NFS - Ensure it has correct permissions (`www-data`) and is persistent ---
๐ Database (Internal)
"dbtype": "pgsql",
"dbtableprefix": "oc_",
"dbpersistent": false
- AIO uses an internal PostgreSQL container, linked automatically - Manual access not required unless for debugging ---
๐ Security Settings
"auth.bruteforce.protection.enabled": true,
"ratelimit.protection.enabled": true
- Security features are enabled by default - Manage trusted proxies and TLS via your reverse proxy (e.g., HAProxy) ---
๐ผ Preview Configuration
"enable_previews": true,
"preview_max_x": 2048,
"preview_max_y": 2048,
"jpeg_quality": 60
- Preview options can be customized via admin panel - Imaginary preview providers may be enabled for better performance ---
๐งพ Notes
> โ
Last reviewed: May 2025
> ๐ Deployed at: cloud.mslspartners.com
> โ ๏ธ Use the AIO interface or container environment variables for changes
> ๐ Do not manually edit config.php
in production ---
No Comments