Hey there,
im new to Nextcloud and Truenas.
My Setup:
Homeserver with Truenas Scale on it.
Ports 80 and 443 from Router to Nginx ports.
From Nginx to Nextcloud instance on Port 9001.
Nextcloud version: 28.0.2 from the Truenas Catalog
The problem is that the Domain goes to the Internal Ip at the moment and i can´t figure out why this is happening.
If i try it outside my network i get the Message:
Site not Found
The Site was not found on the server or is not permitted to be displayed.
In the app i can get to the login screen and if i try to Ligon i get an infinite loading circle.
),
‘overwritehost’ => ‘mydomain:9001’,
‘overwriteprotocol’ => ‘https’,
‘trusted_proxies’ =>
array (
0 => ‘127.0.0.1’,
),
‘upgrade.disable-web’ => true,
‘passwordsalt’ => ‘',
‘secret’ => '**’,
‘trusted_domains’ =>
array (
0 => ‘localhost’,
1 => ‘internal Ip’,
2 => ‘mydomain’,
),
‘datadirectory’ => ‘/var/www/html/data’,
‘dbtype’ => ‘pgsql’,
‘version’ => ‘28.0.2.5’,
‘overwrite.cli.url’ => ‘https://mydomain’,
‘dbname’ => ‘nextcloud’,
‘dbhost’ => ‘nextcloud-postgres:5432’,
‘dbport’ => ‘’,
I tried other combinations of this config as well.
I tried everywhere where my domain is displayed alone and nothing worked.
Has anyone an idea whats wrong?