For example I have some web application based on Flask that runs on 5000 port and some front web-server(nginx) that runs on 80 port.
Why I should configure and use uWSGI module instead of simple:
$ python ./app.py
and
location /api {
proxy_pass http://localhost:5000
}
?