How to make CasaOS apps secure (HTTPS)?

Hi, I have been setting up my CasaOS apps with CloudFlare but I am noticing that everything is using plain http. Is there a way to make everything work with https? I thought I could with NextCloud for some reason but I cant figure it out.

Is its possible or would I need something else?

Ensure that the Cloudflare Tunnels Public Hostname is configured with an HTTPS certificate. You can achieve this by navigating to your domain, then selecting SSL/TLS from the sidebar menu.

Then pick your encryption mode:

Off (not secure)

No encryption applied

Flexible

Encrypts traffic between the browser and Cloudflare

Full

Encrypts end-to-end, using a self signed certificate on the server

Full (strict)

Encrypts end-to-end, but requires a trusted CA or Cloudflare Origin CA certificate on the server

I don’t believe that will work with CasaOS only. I believe I would need something like Nginx but I am not sure how to set it up entirely.

You can use self-signed certificates or just use a proxy like Cloudflare Tunnels.

You can restrict access with: