Collabora built-in connected, but not opening files after migrating from apache to nginx

I am using the first version of nextcloud 29.0 on a centos 8 server, and using built-in collabora for opening files, after using nginx 1.27.0, collabora stopped working but it shows connected to server. I get the following error in logs:

{“reqId”:“ZaOpSk2vORUTIQDhCPCo”,“level”:1,“time”:“2024-07-11T06:49:48+00:00”,“remoteAddr”:“–”,“user”:“”,“app”:“richdocuments”,“method”:“GET”,“url”:“/ocs/v2.php/apps/notifications/api/v2/notifications”,“message”:“Fetched capabilities endpoint from https://nc-server/apps/richdocumentscode/proxy.php?req=/hosting/capabilities in 0.022 seconds”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/”,“version”:“”,“data”:{“app”:“richdocuments”}}

hi @Zeinab_Ahmed welcome to the forum :handshake:

you are missing the required support template. Please fill this form out and edit into your post. This will give us the technical info and logs needed to help you in case the machine in question in spitting out errors! Since you’ve provided zero technical details it is impossible to help you as-is. Thanks.

Please use the search - lot of issues have been discussed already

If there are specific issues or error please describe what you tried so far and which problems you hit!