hey I am a beginner in nextcloud
i installed univention appliance successfully after i downloaded the preinstalled appliance from nextcloud website
i got a domain from “ddns” company and forwarded ports to to my home computer
i also installed ssl from letsencrypt succesfully
the problem is that https://example.ddns.net says it is not a trusted domain
i did some google search and realized that i need to edit the config.php
like this
‘trusted_domains’ =>
array (
0 => ‘ucs-xxxx’,
1 => ‘my external ip at home not obligatory’,
2 => ‘example.ddns.net’,
),
the problem is that when i type
sudo nano /var/lib/univention-appcenter/apps/nextcloud/conf/config.php
it says that it is a new file and that it is not an existing file. i expected to see there a file withe values, but there is no such a file
although it is not an existing file i decided to give it a try, so I created the file as i described above but still when access nextcloud it says it is not a trusted domain
i believe that maybe sudo nano /var/lib/univention-appcenter/apps/nextcloud/conf/config
is not the correct path or not the correct command…please help me
What commands do I have to type in order to make it a trusted domain??