Android app says untrusted domain

Support intro

Hi all,
I have recently installed a TrueNAS Core server, and used the automagical install of the NextCloud Plugin.
I have successfully redirected port 23456 (changed, for the example) of my ISP box to port 8383 of the NextCloud Jail.
When I try to access it from my mobile device I get the untrusted domain error.

Nextcloud version (eg, 20.0.5): replace me
Operating system and version (eg, Ubuntu 20.04): TrueNAS-12.0-U7
Apache or nginx version (eg, Apache 2.4.25): don't know
PHP version (eg, 7.4): 7.4

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N): Yes

Steps to replicate it:

  1. Install app on mobile android device
  2. create app password
  3. Change the URL in the URL box on the app to https://myIPadress:23456
  4. get the untrusted domain error.

The output of your Nextcloud log in Admin > Logging:


The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

'trusted_domains' =>
array (
  0 => 'localhost',
  1 => '192.168.x.y',
  2 => 'my.domain.isp', //provided by my ISP
  3 => 'X.Y.Z.T' // fixed IP address given by my ISP

The output of your nginx log in /var/log/nginx/error.log: