Access through untrusted domain on Truenas/Docker

Hi There, I installed a couple of months ago the Nextcloud App on my Truenas Scale machine. Everything worked well until the update to App version 30.0.4 and nextcloud 1.5.8. Starting from that moment, when accessing, I got the “Error: accesso through untrusted domain” message.
Nothing changed in config.php.
Nextcloud instance is listening request on port 30027 of my Truenas and is using the same IP. In config.php I added 192.168.1.10:30027 and everything worked well. Now nothing changed but no way to make nextcloud working.
Anyone with the same problem? Any suggestion or solutions?
I thank you for ant support

I’m facing the same problem. Trying to install it in thousands of different configurations, always from scratch, including the IP in host, leaving it blank and modifying config.php manually… and the answer is always “untrusted domain”.

Can anyone help?