1

uwsgi+nginx prbolem : chdir() Permission denied

view story
linux-howto

http://stackoverflow.com – I try to use the django to create a website, but occurs some problem. the environment: Ubuntu12.04 + Django1.4+ nginx1.2.6+ uwsgi I found the Nginx is work well. the problem may occurred at the uwsgi. here is my uwsgi.file [uwsgi] socket = 127.0.0.1:9090 chmod-socket = 666 python = /myuser/website/ chdir = /myuser/website/website/ wsgi-file = /myuser/webiste/webiste/wsgi.py when I try to start the uwsgi ,but it failed. and visit the site occured " 502 bad gateway". sudo service uwsgi start I searched the Internet, but not found the right answer. (HowTos)