There are no trusted_domains in nextcloud config file

mathematics28

Dabbler
Joined
Mar 3, 2023
Messages
19
Hi Everyone.

So, I just installed the nextcloud plugin and when I went to the web portal, I was greeted with the trusted domains error. Problem is, when I go to the nextcloud shell and go to edit config.php, there is nothing there for trusted domains. not sure what to do.

Screenshot 2023-03-03 at 9.04.19 AM.png
 

mathematics28

Dabbler
Joined
Mar 3, 2023
Messages
19
anyone?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Just add it?
Code:
$CONFIG = array (
  'trusted_domains' =>
  array (
    0 => 'my.first.trusted.domain',
    1 => 'my.second.trusted.domain',
  ),
  'apps paths' =>
  array (
[...]


That's in the Nextcloud documentation, BTW:

HTH,
Patrick

P.S. Don't use the plugin.
 
Top