https://serverfault.com/questions/775965/
Wiring uWSGI to work with Django and nginx on Ubuntu 16.04
https://serverfault.com/questions/775965/wiring-uwsgi-to-work-with-django-and-nginx-on-ubuntu-16-04?newreg=b7bfd56d2a534ed1af2972cda6db537f
坑点:::::如果uwsgi运行不起来,可能是因为没有www-data组,groupadd www-data
project = firstsite uid = cs base = /home/%(uid) chdir = %(base)/%(project) home = %(base)/Env/%(project) module = %(project).wsgi:application master = true processes = 5 socket = /run/uwsgi/%(project).sock chown-socket = %(uid):www-data chmod-socket = 666 vacuum = true
上面要是666才行。