Django and nginx. Do I still need apache?

django, fastcgi, nginx, wsgi

Solution

No you don't need Apache+wsgi along with Nginx+fCGI/wsgi. Nginx can serve static files really fast and it will use fCGI/wsgi for rest of the requests.

You should read answer to this questions[1] and other related questions mentioned there.

[1]. What is the disadvantage of using Django's fastcgi server

Problem

I've searched around on this topic, and the advice seems to be that nginx should be there to serve static files and apache+wsgi for dealing with Django. A lot of this information is a couple of years old, so I was wondering if there was a way to simplify this without performance degradation and just rely on Nginx and fastCGI and/or wsgi. I'm new to non-heroku deployment, so this is why I probably sound like I don't know what I'm talking about.

Original source

Related problems