Unexpected error on user registration

Hello,

I am trying to host a bitward server myself. I set it up on docker. I removed the nginx reverse proxy and added my own in caddy. All the endpoints work and all containers are running.

Whenever I try to create an account, this happens:

image url, because I could not upload more than one.

There are no errors in any logs.

Anyone have any idea on how to debug and fix this ‘unexpected’ error? Thanks.