http://stackoverflow.com – Let's say I have a django project in /home/django/project0/ and my setup is: server { ... root /usr/share/nginx/www/project0; ... location / { uwsgi_pass unix:///tmp/uwsgi/uwsgi_project0.sock; include uwsgi_params; ... } location /static/ { root /usr/share/nginx/www/project0/static; ... } # similar settings for robots.txt (HowTos)