Here's a Django-specific doc for FastCGI configuration with Nginx:
http://wiki.nginx.org/DjangoFastCGI

Though again: Gunicorn will make your life easier. There's a reason that
most of the tutorials you've found use these extra components.

_Nik

On 12/27/2012 10:28 AM, Nikolas Stevenson-Molnar wrote:
> These two documents should get you what you need:
>
> 1) Django deployment via FastCGI:
> https://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/
> (scroll down a bit to the 'runfcgi' manage.py command).
> 2) Nginx FastCGI example configuration: http://wiki.nginx.org/FcgiExample
>
> That shouldn't have any dependencies past nginx and Django. However, I
> would encourage you to reconsider using Gunicorn or similar. It's
> super easy to get running and makes the nginx configuration much
> easier, as you only need to set up an http proxy, and don't need to
> wrestle with all the fastcgi_param business.
>
> _Nik
>
> On 12/26/2012 11:26 PM, djangobie wrote:
>> Hi all, 
>> I am trying to deploy my Django project using Nginx, tried various
>> tutorials. All of them are filled bunch of dependencies and
>> requirements. Here I am looking forward to a simple (in sure way
>> minimilistic), procedure to do so i.e. deploying my Django project
>> (/mysite1/) and (/mysite2/) with apps (/myapp1/) and (/myapp2/).
>>
>> P.S, I am not looking for some solution stating use of 'virtualenv'
>> or in combination with other servers i.e. 'Apache' or 'Gunicorn' etc.
>> It would be top, if you can explain the settings + config using
>> (/*mysite1*/) with (*/myapp1/*). 
>>
>> Thanks
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/django-users/-/na_ZM3qY5IoJ.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to