I’m using nginx (0.6.32 taken from Sid) with mod_wsgi. It works very well, though I can’t say whether it’s better than the alternatives because I never tried any. Nginx has memcached support built in, which can perhaps interoperate with the Django caching middleware (I don’t actually use it, instead I fill the cache manually using python-memcache and invalidate it when changes are made), so cache hits completely bypass Django (my development machine can serve about 3000 requests per second).
A caveat: nginx’ mod_wsgi
highly dislikes named locations (it tries to pass them in SCRIPT_NAME
), so the obvious ‘error_page 404 = @django
’ will cause numerous obscure errors. I had to patch mod_wsgi source to fix that.