Cloudflare tunnel for Nextcloud Hansson VM

Hi

I have an instance of Nextcloud Hansson VM running in my environment and although it sets up secure remote https access (via deSEC) you still need to open up a port on your router and I have been doing this for years along with my Home Assistant instance.

I recently discovered that Home Assistant has a Cloudflare addon which allows access HA securely over https via a Zero Trust Cloudflare tunnel. I have seen this done with Nextcloud but only with docker, etc. but not with the Hansson VM.

I’m wondering if this is possible with the Hansson VM and if so, how would I set it up?

Thanks in advance for any help and support, Kal …