Nginx X wsgi X Webpy

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 !

Thanks…

Cadu

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,1871,1871#msg-1871

On Fri, May 8, 2009 at 08:19, cadu [email protected] 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

Hi Michal,

U clear my mind …

SOOOOOOOO… i wont use Wsgi … im going to use Fcgi …

Thanks a lot …

Im going to post the results…
Thanks for ur help

Cya…
Cadu

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,1871,1874#msg-1874

On Fri, 2009-05-08 at 08:03 -0400, cadu wrote:

Hi Michal,

U clear my mind …

SOOOOOOOO… i wont use Wsgi … im going to use Fcgi …

Are you trying to run a Python framework or is this custom from the
ground up?

Cliff

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs