cross-posted from: https://lemmy.ca/post/60267812
Everytime I try setting trusted domains variables before booting, and rebuild my container, there is only localhost being set in config.php. Is there a way I can have the file automatically set on a freshly built container?
The environment variable
NEXTCLOUD_TRUSTED_DOMAINSdoes get loaded onto the server, but the Nextcloud install is not using it.Honestly, I would even be happy with
NEXTCLOUD_TRUSTED_DOMAINS=*at this point to trust all domains.
You must log in or # to comment.
I did not find a way to do this. However part of my problem was Caddy reverse proxy not pointing to the right container. Updating my Caddyfile, and running the following solved accessing via my domain or other IPs.

