Sorry i have posted the old config.
there is the actual config.php
I have added the âoverwritehostâ => âcloud.mydomain.itâ and rebooted but now the cloud is unreachable. i had to delete it to reach again the cloud
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/snap/nextcloud/current/htdocs/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/snap/nextcloud/current/nextcloud/extra-apps',
'url' => '/extra-apps',
'writable' => true,
),
),
'supportedDatabases' =>
array (
0 => 'mysql',
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/tmp/sockets/redis.sock',
'port' => 0,
),
'log_type' => 'file',
'logfile' => '/var/snap/nextcloud/current/logs/nextcloud.log',
'logfilemode' => 416,
'instanceid' => '+++++',
'passwordsalt' => '+++++',
'secret' => '+++++',
'trusted_domains' =>
array (
0 => '{{ * }}',
1 => 'cloud.mydomain.it',
2 => '192.168.+++.+++',
3 => 'localhost',
4 => 'nextcloud.local',
),
'datadirectory' => '/var/snap/nextcloud/common/nextcloud/data',
'dbtype' => 'mysql',
'version' => '31.0.7.1',
'overwrite.cli.url' => 'https://cloud.mydomain.it',
'overwritehost' => 'cloud.mydomain.it'
'overwriteprotocol' => 'https',
'htaccess.RewriteBase' => '/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:/tmp/sockets/mysql.sock',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => '++++++',
'installed' => true,
'default_phone_region' => 'IT',