Serving datagerry from subpath

Hi all,
i am running the datagerry stack on AWS ECS as a fargate based service.
i am trying to configure datagerry under a specific url path (it is configured in an upstream traefik reverse proxy - i do not want to use a separate subdomain for this setup)
i can set the nginx variable NGINX_DEFAULT_LOCATION to this specific subpath, and the html template is served ok, but then the ‘static’ assets are not being loaded (javascript and images) as they are still referenced to hang from ´/’ instead of my subpath (which probably makes sense as i am reconfiguring ngix, but not the datagerry cotainer)

So i guess i need to set this subpath in the datagerry container too, does anybody know if there is a way to add this subpath configuratio without customizing the datagerry docker image?

thanks!