I can’t find the config.php file in ubuntu for my nextcloud server so that I can change the trusted domains so that I can access the server outside my network. I used the snap store to install ubuntu.
Hi @Miguel_McNamara maybe the file is located in /var/snap/nextcloud/current/nextcloud/config/ directories or something like that. I don’t use the nextcloud snap installation.
1 Like
I don’t use the snap but the documentation says…
Beyond the typical Nextcloud configuration (either by using nextcloud.occ
or editing /var/snap/nextcloud/current/nextcloud/config/config.php
), the snap exposes extra configuration options via the snap set
command.
you should be able to add a trusted domain with this command:
sudo snap run nextcloud.occ config:system:set trusted_domains 1 --value=cloud.yourdomain.tld
or edit the config.php directly with:
sudo nano var/snap/nextcloud/current/nextcloud/config/config.php
Hope that helps.
2 Likes
Yay, I finally found it
1 Like