Cloudflare Tunnel & Nextcloud reddit / selfhosted ---------------------------------------------------------------------- djshades2004 · 2023-12-06 13:37 cloudflare has a tunnel to my nextcloud VM with http on port 80. Cloudflare is Securing the tunnel automatically with ssl. I have a stange issue with login that you have to click the refresh browser button once credentials are entered to be able to login. Also the app on the phone will not login at all stating “Strict Mode: No http allowed”, strange as this connection is secured by cloudflare. ---------------------------------------------------------------------- Anejey · 2023-12-06 20:38 Not sure about the refresh thing, but to fix the http error you need to add (or edit) this to the config: ``` 'trusted_domains' => array ( 0 => '192.168.X.X:PORT#', 1 => 'nextcloud.mydomain.com' ), 'overwrite.cli.url' => 'http://192.168.X.X:PORT#', 'overwriteprotocol' => 'https', ```