Access through untrusted domain EVEN AFTER ADDING trusted domain in config.php

Hi All,

I am trying to use localtunnel to expose my nextcloud to internet. I have added the domain to trusted domain in /var/www/html/config/config.php.
Restarted nextcloud and host itself several times.
Whenever I visit the domain i get, access through untrusted domain.

But, the same is working with ngrok, not with localtunnel.

Please help me resolve this.

Please post more details e.g. configurations and logs. Perhaps you must add localhost and/or

Here is a snippet of config.php under /var/www/html/config/

'trusted_domains' => 
  array (
    0 => '',
    1 => '',
    2 =>''

I’m running nextcloud in docker within my raspberry pi.

Lol, I feel so dumb that I had configured my docker container wrong.
It should be : when running image as detached. But, I had configured it as ::

Yes, so DUMB I was.
Thanks, and its fixed now :slight_smile: