@wulaaf regular server or containers? What do you mean by 'not working'? IIRC uwsgi really just needs pythonpath and possibly a venv. nginx shouldn't need any unless you're doing something really funky.
Regular servers. It's my first time deploying nginx with uwsgi so I followed the django tutorial on uwsgi doc site. I've successfully implemented it and everything works when I hardcode the vars inside settings.py., I tried using export ALLOWED_HOSTS=ip, didn't work and I also tried defining env inside the uwsgi.ini file, it still didn't work.
So uwsgi is installed globally so I can autorun it using governor on startup. It's added to the rc.local file.
I really like Victor's build with traefik. I tried doing something similar but failed so I compromised on regular servers for now while I build up docker skills. If someone decides to write a comprehensive production guide for beginners to deploy with docker before I figure out how to then that'll be awesome.