Simon Willison’s Weblog

Which web server suits Django best? Apache, Nginx or something else?

My answer to Which web server suits Django best? Apache, Nginx or something else? on Quora

I’m still a big fan of a stripped down Apache+mod_wsgi running behind nginx.

Nginx handles static files, gzip, trickling to slow clients, load balancing and having a configuration language that’s actually pleasant to work with.

Apache just sits there serving up dynamic Python pages via mod_wsgi, using the shortest possible config.

The reason I like Apache for this is I don’t need to babysit the process at all, unlike if I was using FastCGI or running a separate Python app server.

This is Which web server suits Django best? Apache, Nginx or something else? by Simon Willison, posted on 25th January 2011.

Tagged , ,

Next: What are some of the wackiest panel discussion formats?

Previous: Why exactly isn't TextMate available for other platforms like Ubuntu?