Nextcloud UCS appliance config.php path

Hello,

I am a nextcloud newbie and I installed it with the UCS appliance in virtualbox. So I already set everything up, but I dont know where the config.php file is.

This path doesnt exist “/var/www/nextcloud” I only have “/var/www/univention”, but there is no config file for nextcloud in it. I use the UCS local terminal in the vm and I already enabled SSL using this guide “https://www.modius-techblog.de/linux/nextcloud-https-mit-self-signed-zertifikat-einrichten/” without any problems.

I need the config file to add trusted domains but I just dont find it. Does anybody know the path for it?

Found the Path.
It´s: /var/lib/univention-appcenter/apps/nextcloud/conf/config

Use following mentioned below command using SSH

root@ucs-1051:/home/Administrator# nivention-app shell nextcloud sudo -u www-data php /var/www/html/occ config:system:get trusted_domains
bash: nivention-app: command not found

root@ucs-1051:/home/Administrator# univention-app shell nextcloud sudo -u www-data php /var/www/html/occ config:system:get trusted_domains
domainname.com
xxx.xxx.1.22

root@ucs-1051:/home/Administrator# univention-app shell nextcloud sudo -u www-data php /var/www/html/occ config:system:set trusted_domains 3 --value xxx.xxx.xxx.xxx

not exist any file in this location