I installed Nextcloud using Docker on a Raspberry Pi. Then, I used SakuraFrp to enable access to my Nextcloud from external networks via various platforms. However, I encountered some issues.
Initially, the program ran smoothly by default. I could access it through the local web interface and even on my local mobile device. But when I tried accessing it from an external network via my mobile device, I received an error message, “strict mode, use HTTPS,” preventing access to Nextcloud. After searching for a solution, I found that adding ‘overwriteprotocol’ => ‘https’ to the config.php file might help. After making this change, my mobile device could access Nextcloud, but now I couldn’t access it from the local web interface using the IP address. The browser displayed the message, “This site can’t provide a secure connection 192.168.31.24 sent an invalid response. ERR_SSL_PROTOCOL_ERROR.”
I haven’t configured any NGINX or other reverse proxies, and as a novice with no prior knowledge, I followed online tutorials to set up Nextcloud on my Raspberry Pi. Unfortunately, my attempts to access Nextcloud from various networks internally and externally have led to this frustrating issue.
The previous content was translated using translation software, so there might have been some unclear expressions. Please forgive me.