Error 522 with my nextcloud

Oh sorry I forgot to mention that I am running it inside ubuntu server (virtualbox)

I created a tunnel and changed No TLS Verify to enable but it still 502 I am not sure why

it’s saying status healthy