Re: Deploying Django apps with nginx

2013-11-10 Thread Timothy W. Cook
This should help http://michal.karzynski.pl/blog/2013/10/29/serving-multiple-django-applications-with-nginx-gunicorn-supervisor/ On Sun, Nov 10, 2013 at 10:20 AM, Sandeep kaur wrote: > Hi, > I want to deploy multiple django apps on a server with nginx. When we do it > on apache > we do it in /e

Re: Deploying Django apps with nginx

2013-11-10 Thread Thomas Orozco
Using Nginx, you don't tun the django app "inside" Nginx like you would using mod_wsgi. Instead, you use Nginx for reverse proxying (see the proxy_pass directive), and use a Python webserver for your app(s), e.g. uwsgi, gunicorn. Serving multiple apps is easy. Just use multiple location blocks an