I have installed nextcloud in my raspberry pi and can access it locally.
For remote access from outside network, i used dataplicity, which gives a address to access like xyz-123.dataplicity.io.
Clicking the link opens the apache server home pageā¦ But when i open nextcloud by typing url xyz-123.dataplicity.io/nextcloud i get locked for access through a unauthorised domain.
I added xyz-123.dataplicity.io to trusted domain in nextcloud config file but still the problem persists.
Plz help.
are you running nextcloud behind a proxy to access it from outside?
if so add the name of this proxy as well.
I am not using any proxy.
I have my router connected to raspberry pi via ethernet and my public ip address is dynamic. I am using dataplicity as i cannot port forward my port 80 as it is locked by ISP.
Im experiencing the same issue
solved editing the config.php file:
sudo nano /var/snap/nextcloud/current/nextcloud/config/config.php
(add the ā1 =>ā line with the Dataplicity server address)
ātrusted_domainsā =>
array (
0 => ālocalhostā,
1 => āfloppiest-pointer-0000.dataplicity.ioā,
),