My nextcloud config.
Most notably using APCu caching, enabled video thumbnails and disabled preview size limit.
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => '',
1 => '',
2 => '',
),
'datadirectory' => '',
'dbtype' => 'mysql',
'overwrite.cli.url' => '',
'dbname' => '',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'mail_smtpmode' => 'sendmail',
'mail_sendmailmode' => 'smtp',
'maintenance' => false,
'theme' => '',
'log_type' => 'errorlog',
'loglevel' => 4,
'logfile' => 'nextcloud.log',
'mysql.utf8mb4' => true,
'updater.release.channel' => 'stable',
'trashbin_retention_obligation' => '7, 30',
'versions_retention_obligation' => 'auto',
'knowledgebaseenabled' => false,
'enable_previews' => true,
'preview_max_filesize_image' => -1,
'preview_max_x' => null,
'preview_max_y' => null,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\HEIC',
4 => 'OC\\Preview\\BMP',
5 => 'OC\\Preview\\XBitmap',
6 => 'OC\\Preview\\MP3',
7 => 'OC\\Preview\\TXT',
8 => 'OC\\Preview\\MarkDown',
9 => 'OC\\Preview\\Movie',
),
'filesystem_check_changes' => 1,
'simpleSignUpLink.shown' => false,
'filelocking.enabled' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\APCu',
'encryption.legacy_format_support' => false,
'encryption.key_storage_migrated' => false,
'default_phone_region' => 'de',
'overwritehost' => '',
);