Configure core Python scripts into Nginx
Nitin Solanki
nitinmlvya at gmail.com
Thu Aug 6 06:51:27 UTC 2015
Hi Zhang,
Which should I use fastcgi or uwsgi. I tried uwsgi but not
succeed. Can you help to sort out my problem. Shall you please send me
steps to configure python with Nginx.
On Wed, Aug 5, 2015 at 8:52 PM Yichun Zhang (agentzh) <agentzh at gmail.com>
wrote:
> Hello!
>
> On Wed, Aug 5, 2015 at 10:25 PM, Nitin Solanki wrote:
> > I want to execute python scripts into Nginx server. I don't
> want to
> > any frameworks for that. Core python script, I need to use.
> > Any help and step to follow . To do that.
> >
>
> Because you're using NGINX, I'd assume you're after performance. I
> suggest you have a look at our ngx_lua module which supports
> nonblocking Lua scripting in the nginx core:
>
> https://github.com/openresty/lua-nginx-module
>
> Lua is a simple language and is pythanic in some ways :)
>
> If you insist in running Python in your apps, then you should try
> those fastcgi or uwsgi options instead.
>
> Just my 2 cents.
>
> Regards,
> -agentzh
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150806/89ea21b2/attachment.html>
More information about the nginx
mailing list