3
submitted 1 week ago by dudesss@lemmy.ca to c/nextcloud@lemmy.ml

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_DOMAINS does 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.

top 1 comments
sorted by: hot top new old
[-] dudesss@lemmy.ca 1 points 1 week ago

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.

https://docs.nextcloud.com/server/14/admin_manual/configuration_server/occ_command.html#setting-an-array-configuration-value

this post was submitted on 11 Feb 2026
3 points (100.0% liked)

nextcloud

1018 readers
3 users here now

Nextcloud is a suite of client-server software for creating and using file hosting services.

https://nextcloud.com/

https://github.com/nextcloud

IRC: #nextcloud on libera.chat
Matrix: #nextcloud:matrix.org

Other Nextcloud communities on Lemmy

founded 5 years ago
MODERATORS