UCS Nextcloud, can´t connect remotely

Hi,

I´m new here so I hope I posted this in the right place of the forum.

I´ve installed virtualbox and setup a nextcloud server. I can connect to it when I´m on the LAN, but not from remote. I can´t find the config.php file in file manager to add trusted sites. Is there something that I should configure via the management panel.

Been searching the forums for a long time, and can´t solve this issue. Very thankful for help.

I did:

univention-app shell nextcloud
apt-get install nano
nano var/www/html/config/config.php

and added the entry “1” below:

  'trusted_domains' =>
  array (
    0 => 'ucs.myucs.domain',
    1 => '192.168.21.51',
  ),

where the IP-address is the IP-address of my UCS server.

Mastodon