All files in build directory return 404 except index.php

Hi everyone, I’ve deployed my application on aws ECS fargate, I have a container containing my nginx server with the root on /var/www/html/public which acts as a reverse proxy to my other container containing my Sylius app.
I manage to display the home page but without css or js, in fact all these files in build return a 404 and despite my efforts, nothing can be done.
The files are indeed present in /public/build/ of my sylius container. I’ve checked the permissions on these files as well as the security groups on AWS.
If anyone has any ideas…
Thanks in advance!