Nextcloud with cloudflared

Hi,

I recently setp a TrueNas box running ElectricEel-24.10.0.2 .

I installled Nextcloud from and cloudflared from ix-applications.

I created a tunnel and a new server pointing to the NextCloud instance:
my.domain → https://192.168.10.12:30027

Somehow the NextCloud login never loads and when enabling Cloudflare life logs I always see that the GET request is responded to by the “302 FOUND” redirection code.

Have you encountered this situation?
Is there an additional step I need to perform to have NextCloud accessible through a Cloudflare tunnel?

Thanks in advance for any help.