We do something similar, in Dev you have a "dev" server and an API.
In Prod, we use a CDN to server the static files using AWS ALB and Cloudfront.
Serving your frontend through nginx for local development would work, but it's not very ergonomic. I know .NET has a built-in development server for frontend apps so you can use it in both prod and dev, but I think most frontend devs prefer the CDN option especially that it gives their delivery a performance boost and makes it completely independent of any backend.