Forum: NGINX nginx X wsgi X Webpy

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2974d09ac2541e892966b762aad84943?d=identicon&s=25 cadu (Guest)
on 2009-05-08 08:27
(Received via mailing list)
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
Ab2425ae0425be8faaf052cce737b243?d=identicon&s=25 Michał Jaszczyk (Guest)
on 2009-05-08 09:33
(Received via mailing list)
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
2974d09ac2541e892966b762aad84943?d=identicon&s=25 cadu (Guest)
on 2009-05-09 07:18
(Received via mailing list)
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
2e321cc0efe9422d37165e922298494e?d=identicon&s=25 Cliff Wells (Guest)
on 2009-05-09 08:55
(Received via mailing list)
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 topic is locked and can not be replied to.