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

Deploying Django apps with nginx

2013-11-10 Thread Sandeep kaur
Hi, I want to deploy multiple django apps on a server with nginx. When we do it on apache we do it in /etc/apache2/httpd.conf and following content : WSGIScriptAlias /django /home/sandy/django_app/apache/django.wsgi Order allow,deny Allow from all Thus this app can be accessed by example