Post Closed as "Opinion-based" by HopelessN00b
Post Made Community Wiki
Source Link
Ryszard Szopa
  • 101
  • 1
  • 1
  • 5

Which is best for Django? Lighttpd or Nginx? Or maybe something else?

Which of Lighttpd and Nginx is, basing on your experience, better suited for Django? I've used both and can hardly notice any difference at all, they just work fine... Are there any use cases when one of them acts much better than the other? When answering please take in account both simplicity of configuration and efficiency.

My usual setup is to have a separate Django FCGI process (like in ./manage.py runfcgi daemonize=false port=8098 host=127.0.0.1) launched via daemontools or an init.d script and lighty/nginx acting as a reverse proxy.

Oh, and if you feel some other http server is much better for Django than Lighty and Nginx, please don't hesitate to share your thoughts.