Cause I think it is a generally configure Problem within “config.php” and the PHP-Syntax I skip informations to nextcloud Version etc.
The Situation is, that I have a Domain forwarding to a dyn-dns-provider.
domain1.org -> Domain.dynv6.net/nextcloud
I can Access the netcloudserver using Domain.dynv6.net/nextcloud.
I cant Access using -> domain.org
I tried the following Configuration within config.php:
<?php
$CONFIG = array (
'instanceid' => 'ocmtan5ruzjd',
'passwordsalt' => '37dhyErWRD5tFYJTAoLZV0EfJKuXi8',
'secret' => 'uvXuKf5cFifH31YbVXo0ozYZBnkw2TvnrGDhZ1SwPvFPeHc1',
'trusted_domains' =>
array (
0 => '192.168.1.23',
1 => 'domain.dynv6.net',
2 => 'domain1.org',
),
'datadirectory' => '/share/CACHEDEV1_DATA/nextcloud/data',
'dbtype' => 'mysql',
'version' => '18.0.4.2',
'overwrite.cli.url' => 'https://cloudserver/nextcloud',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:3307',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_admin',
'dbpassword' => 'mB215cWXRaC9Q+Bxsf9lgew1+BwxxT',
'installed' => true,
'maintenance' => false,
);
Is there a Bug, or can be only choosen one Domain for trusting?