project opens in local but hang in server

I'm trying to deploy a Unity WebGL game to VPS using an express server. When I run the express server locally, the game runs fine without errors, but when I upload to vps, it freezes after loading the content without showing any errors. I've also tried using a new empty Unity project just to make sure the problem is not linked to my code

network files 8882979--1213800--upload_2023-3-17_9-26-36.png
console logs
8882979--1213803--upload_2023-3-17_9-27-5.png

Have you tried clearing the cache?

yes first thing I did

can it be a problem with the server ? here are the nginx config and express route
8883900--1214025--upload_2023-3-17_16-32-37.png

8883900--1214028--upload_2023-3-17_16-32-54.png

It's the browser cache, not the server

I cleared cache , tried different browsers even different devices all with the same result