Nginx with mod_wsgi

I usually run web applications behind nginx using FastCGI. I wanted to experiment with mod_wsgi but it seems to be outdated. The author mentions that it was working with version 0.5.34, however now I am running 0.7.62.

The wiki article warns of compilation issues with the module and later versions of nginx. Has anyone used mod_wsgi with more recent nginx versions? Is there another module I am missing?

+2


source to share


2 answers


Other options are available for nginx: FASTCGI, Phusion Passenger or proxy. You can also just use the original mod_wsgi with Apache, instead using nginx to statically process files as needed.

For nginx / mod_wsgi, make sure you read:



http://blog.dscpl.com.au/2009/05/blocking-requests-and-nginx-version-of.html

+4


source


I'm setting this up too, and I'm just wondering: why not nginx reverse proxy to a multi-threaded wsgi paste process?



+1


source







All Articles