Python in Nginx // windows 2008

I need to run python in Nginx. What do I need to install and configure?
I have windows 2008.

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

On 08/08/2012 02:22 AM, borgita wrote:

I need to run python in Nginx. What do I need to install and configure?
I have windows 2008.

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

Python can be run in multiple ways on an nginx server.

Do you want pythan code as a CGI script, then just look on how to run
CGO on nginx

or do you wnat to run it via fast-cgi then you could look at flup
http://wiki.nginx.org/PythonFlup

or do you ant python WSGI code, then you could for example at uwsgi

http://projects.unbit.it/uwsgi/
or at gunicorn http://gunicorn.org/

See also:
http://stackoverflow.com/questions/6078225/recommended-nginx-wsgi-configurations

Apologies,

I overlooked the ‘windows 2008 part’.

On 08/08/2012 11:04 PM, Gelonida N wrote:

Do you want pythan code as a CGI script, then just look on how to run
CGI on nginx

or do you wnat to run it via fast-cgi then you could look at flup
http://wiki.nginx.org/PythonFlup
PythonFlup should be working on windows.

or do you ant python WSGI code, then you could for example at uwsgi

http://projects.unbit.it/uwsgi/
nginx definitely does NOT run on windows so you can skip it.

or at gunicorn http://gunicorn.org/
I think gunicorn is also Unix only

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