I have followed this tutorial to install uwsgi with nginx: Setting up Nginx and uWSGI for CGI scripting.
It all works, but it only works after I execute the command
sudo -u www-data ./uwsgi ./uwsgi_config.ini
I have to mention that I run headless and do all the work from a ssh terminal.
After I execute the command I cannot do anything else, unless I stop
uwsgi with Ctrl-C (it just shows when a script a running).
How to keep it running in the background and start it on startup? I tried to add it to
.bashrc but I still cannot use the console until I end