Please find simple sharing test (same server, same files)
Owncloud:
https://www.webpagetest.org/result/210410_BiDc53_d05bf8281d1d70deb8352e5c105dfaac/
Nextcloud:
https://www.webpagetest.org/result/210410_AiDcWN_9572dcff46b65dcd34827f6ad6d70d81/
Config for Owncloud
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/owncloud/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/owncloud/custom',
'url' => '/custom',
'writable' => true,
),
),
'trusted_domains' =>
array (
0 => 'nas.kleinhans.info',
),
'datadirectory' => '/mnt/data/files',
'dbtype' => 'mysql',
'dbhost' => 'xxxxx',
'dbname' => 'xxxx',
'dbuser' => 'xxxx',
'dbpassword' => 'xxxx',
'dbtableprefix' => 'oc_',
'log_type' => 'owncloud',
'supportedDatabases' =>
array (
0 => 'sqlite',
1 => 'mysql',
2 => 'pgsql',
),
'upgrade.disable-web' => true,
'default_language' => 'fr',
'overwrite.cli.url' => 'https://nas.kleinhans.info/',
'htaccess.RewriteBase' => '/',
'logfile' => '/mnt/data/files/owncloud.log',
'loglevel' => 2,
'memcache.local' => '\\OC\\Memcache\\APCu',
'mysql.utf8mb4' => true,
'filelocking.enabled' => true,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'xxxx',
'port' => '6379',
),
'passwordsalt' => 'xxxxx',
'secret' => 'xxxx',
'version' => '10.7.0.4',
'logtimezone' => 'UTC',
'installed' => true,
'instanceid' => 'xxxx',
);
Config for Nextcloud
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'xxxxx',
'password' => '',
'port' => 6379,
),
'passwordsalt' => 'xxxx',
'secret' => 'xxxx',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'nas2.kleinhans.info',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '20.0.9.1',
'overwrite.cli.url' => 'https://nas2.kleinhans.info',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => 'xxxxxx',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxxxx',
'dbpassword' => 'XXXXX',
'installed' => true,
'instanceid' => 'XXXXX',
'loglevel' => 2,
'maintenance' => false,
);