I installed nextcloud using
sudo snap install nextcloud on my vps. Now I can connect to it at localhost:80 from the vps itself. If I forward the 80-th port via ssh from my local computer, then I can connect from it too. I want nextcloud to work at nextcloud.mydomain.dmn, so I obviously need to do some configuration, however I don't know how to do that with snap.
There is a readonly
/snap/nextcloud/current/ directory with
conf/httpd.conf. I can't edit it. It's provided by the following systemd unit:
# cat /etc/systemd/system/snap-nextcloud-2184.mount [Unit] Description=Mount unit for nextcloud [Mount] What=/var/lib/snapd/snaps/nextcloud_2184.snap Where=/snap/nextcloud/2184 Type=squashfs Options=nodev,ro [Install] WantedBy=multi-user.target
It seems there are not nextcloud-related config files in
/etc except for systemd units.