Welcome! Log In Create A New Profile

Advanced

Re: nginx X wsgi X Webpy

Michał Jaszczyk
May 08, 2009 03:22AM
On Fri, May 8, 2009 at 08:19, cadu <nginx-forum@nginx.us> 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 !


Hey,

AFAIK you have two options:

1. Compile mod_wsgi into Nginx and create a config file that uses
wsgi_pass directive.
2. Setup some WSGI container (Paste, CherryPy, etc.), run your
application there and configure Nginx as a reverse proxy (i.e. use
proxy_pass) directive.

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.

Cheers,

Mike
Subject Author Posted

nginx X wsgi X Webpy

cadu May 08, 2009 02:19AM

Re: nginx X wsgi X Webpy

Michał Jaszczyk May 08, 2009 03:22AM

Re: nginx X wsgi X Webpy

cadu May 08, 2009 04:55AM

Re: nginx X wsgi X Webpy

Cliff Wells May 08, 2009 09:45AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready