danb35 / freenas-iocage-nextcloud

Script to create an iocage jail on FreeNAS for the latest Nextcloud 28 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt
GNU General Public License v3.0
250 stars 71 forks source link

cant access the Nextcloud url from inside my network on mobile devices #213

Open shermy opened 6 months ago

shermy commented 6 months ago

while I can access the url by its name ('overwrite.cli.url') from my laptops (where I could manually edit the hosts file), it does not work when trying to access from any Android device. I get the ERR_SSL_PROTOCOL_ERROR when trying to access Nextcloud by the IP of its jail. How can this be achieved with the current installation? Thanks

shermy commented 6 months ago

managed to solve this by deleting the whole installation and redoing it with NO_CERT=1 in the nextcloud-config file. Now I am able to connect to the HOST_NAME using the laptops (where i configured the hosts files accordingly) and on the android devices i can now use http://JAIL_IP . This is the only way i was able to get it to work for androids, if anyone has better ideas please share, thanks