Strict Mode: No HTTP connection Allowed!

I am getting this error when I try to connect to my nextcloud instance via the Android app.
Strict Mode: No HTTP connection Allowed!
I setup HTTPS access using ngrok. These are the commands I ran
ngrok http 8080
docker run -e NEXTCLOUD_TRUSTED_DOMAINS=xxxx-xxxx-xxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx.ngrok-free.app -d -p 8080:80 nextcloud
I see http is being used as the server address in the settings, but it is read only. How do I set it up so that it uses HTTPS?

hi @Ben2 welcome to the forum :handshake:

I have now clue if it’s possible with ngrok but you could try reverse proxy docs.
… add required http headers and the server will know ssl termination is performed by external system…