Hello im new to nextcloud
Ive download the ESX image and installed it
Now ive got some questions that i canât figured out
1- ive installed the app nextcloud and when i go here
https://nextcloud.domain.com/nextcloud/index.php
i get this error
Please contact your administrator. If you are an administrator, edit the âtrusted_domainsâ setting in config/config.php like the example in config.sample.php.
Depending on your configuration, this button could also work to trust the domain:
So i edited the file /var/lib/univention-appcenter/apps/nextcloud/conf/config/config.php
here is what look the file
<?php
$CONFIG = array (
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'nextCloud.domain.com',
1 => '192.168.xx.xx',
2 => 'cloud.domain.com',
),
'datadirectory' => '/var/lib/univention-appcenter/apps/nextcloud/data/nextcloud-data',
'overwrite.cli.url' => 'https://nextCloud.domain.com/nextcloud',
'dbtype' => 'pgsql',
'version' => '13.0.4.0',
'dbname' => 'nextcloud',
'dbhost' => '172.17.42.1',
'dbport' => '5432',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => 'xxx',
'installed' => true,
'instanceid' => 'xxx',
'updatechecker' => 'false',
'memcache.local' => '\\OC\\Memcache\\APCu',
'overwriteprotocol' => 'https',
'overwritewbroot' => '/nextcloud',
'htaccess.RewriteBase' => '/nextcloud',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
'trusted_proxies' =>
array (
0 => '172.17.42.1',
),
);
if i go with the ip adress itâs working fine
2- how do i configured this - i canât find on wich file to make the modification
The âStrict-Transport-Securityâ HTTP header is not set to at least â15552000â seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips.
3- On the Univention Portal when we click on the apps Nextcloud how can we change the url it will open to
https://cloud.domain.com/nextcloud/index.php
Thanks for your help !