this one helps. You have to run your projects on different ports like firsrone on 8000 and secondone on 8001. Then in nginx conf, in place of location /, you have to write location /firstone/ and proxy pass this to port 8000 and then write same location object for second one as location /secondone/ and proxy pass it to port 8001. For static files and media, you have to make them available as /firstone/static and same for secondone. Other way is to specify MEDIA_ROOT and STATIC_ROOT same for both the projects.