Where are you getting these commands and files from that you are trying to use?
Are you trying to combine information from multiple sources? (Thatās generally a really bad idea for something like this. Find one comprehensive source and use it exclusively. Do not go looking for information anywhere else unless itās explicitly intended to expand on or enhance your primary source.)
Thatās entirely up to you.
But my recommendation at first - regardless of the uwsgi/gunicorn choice - is to get this working with a TCP socket before trying to get it working with a domain socket.
Nginx is easy. Uwsgi is actually fairly easy. Itās getting all these different parts working together that can be difficultā¦
Not really that au fait with uWSGI, but isnāt the simplest way to check it is running to connect to it directly, rather than through an intermediate web server, ie:
As i sad on top - Django doesnt work on public IP
I want to start server with django website. Everything works on local IP, but on public works only Nginx.
If you run the uWSGI service connecting via a tcp port, you can connect to it directly, rather than via Nginx, ie http://127.0.0.1:9090.
If you are running it to connect via a Unix socket, then I donāt know how to connect to that, but I am sure it is possible.
Trying to connect to the uWSGI service directly confirms that the uWSGI service is running, etc, so that you can perhaps narrow your problem down to a Nginx, or other, configuration issue.