Hello.
Exposing Nextcloud to the web results in a local ip redirection.
Resolving my.domain.com:12345 from outside results in 192.10.10.10.
I redirected outside port 12345 to 192.10.10.10:443 in the router.
I’m running NC in a jail.
What did I miss?
Thanks in advance!
<?php
$CONFIG = array (
'apps_paths' =>
array (
0 =>
array (
'path' => '/usr/local/www/nextcloud/apps',
'url' => '/apps',
'writable' => true,
),
1 =>
array (
'path' => '/usr/local/www/nextcloud/apps-pkg',
'url' => '/apps-pkg',
'writable' => false,
),
),
'logfile' => '/var/log/nextcloud/nextcloud.log',
'memcache.local' => '\\OC\\Memcache\\APCu',
'one-click-instance' => true,
'one-click-instance.user-limit' => 100,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'localhost',
),
'passwordsalt' => 'xxx',
'secret' => 'xxx/', 'trusted_domains' =>
array (
0 => 'localhost',
1 => '192.10.10.10',
2 => 'cloud.lan',
3 => 'my.domain.com',
),
'datadirectory' => '/usr/local/www/nextcloud/data',
'dbtype' => 'mysql',
'version' => '23.0.0.10',
'overwrite.cli.url' => 'https://my.domain.com',
'overwriteprotocol' => 'https',
'overwritehost' => '192.10.10.10',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'localadmin',
'dbpassword' => 'xxx',
'installed' => true,
'instanceid' => '666',
'maintenance' => false,
'theme' => '',
'simpleSignUpLink.shown' => false,
'loglevel' => 3,
'app_install_overwrite' =>
array (
0 => 'dropit',
),
);