I have created a well running mailcow mail server on my ubuntu 22.04 VDS server, with docker-compose.
But i want to run another little own developed flask python web-api on a random port.
Than i will forward a subdomain to my VDS (With an A record from Cloudflare) /and point it to that Web Api i wrote with python. For example we can assume my web api running on 0.0.0.0:8089.
How can i conigure nginx part so i can do that?