On Fri, May 8, 2009 at 08:19, cadu email@example.com wrote:
Hello World !
Im traying a lot to install Nginx with wsgi !
I tryed all the tutorials and nothing.
Please PLEASE !!! someone help me .
im using ubuntu server !
AFAIK you have two options:
- Compile mod_wsgi into Nginx and create a config file that uses
- Setup some WSGI container (Paste, CherryPy, etc.), run your
application there and configure Nginx as a reverse proxy (i.e. use
Ad 1. The Nginx package in Ubuntu contains binary that doesn’t have
mod_wsgi compiled into it. This means you would have to compile it on
your own and install it not as a package, but into /usr/local.
Ad 2. The author of mod_wsgi discourages using it for big apps as they
would block entire Nginx worker so that all Nginx’ async fun stuff
wouldn’t work. So this possibility is somewhat better than mod_wsgi.
Hope this clears your mind a bit. Let us know which option do you
prefer and we can go into further details.