jopalacios uWSGI supports basic auth.
To enable it, create your .htpasswd
file in your app directory then add the following to your uwsgi.ini
replacing "shelluser" and "appname" with your own:
route = .* basicauth:MyApp,/home/shelluser/apps/appname/.htpasswd
Restart your app after making that change.