On 12/20/06 8:24 PM, Simon Willison wrote:
So, I'm now serving simonwillison.net using a stripped down
mod_python/Apache server (mod_python is pretty much the only module
loaded) that's sat behind nginx, which is configured to serve up my
static files and proxy the dynamic requests through to Apache. I'm
using Apache as a python application server basically because I can
rely on it staying up. It's been working great so far.

FYI, this is pretty similar to the most stable architecture we've so far found at World Online. We use perlbal in front of Apache for Django, and a dedicated lighttpd server/instance for serving static media.

The added bonus of a load balancer is that we can move sites between different physical machines and/or pool them between multiple machines with almost no fuss. It's pretty nice.

Shameless plug: I'm going to be covering Django deployment in my "Advanced Django" tutorial at PyCon...

Jacob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com
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