Webserver for deploying fullstack web applications

Hey, I have a dedicated server at Hetzner and I am looking to use it to deploy my full stack web applications. The apps are built with SvelteKit and Supabase.

Can I use nginx, or is that only suited for small, simple / static websites? If I cannot, is there a good foss alternative thta makes this easy on NixOS?