nginx uwsgi
March 20, 2018
I followed the Setting up Django and your web server with uWSGI and nginx tutorial
uwsgi --ini <INIT FILE> --uid www-data --gid www-data --daemonize /var/log/uwsgi.log
What worked differently for me:
- Save the socket file in /tmp
- Change socket permission to rw (666)
- Not using the emperor mode
Bonus
- Pitfalls and Common Mistakes using nginx