<div dir="ltr"><div>Hi Zhang,<br></div> 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.<br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Aug 5, 2015 at 8:52 PM Yichun Zhang (agentzh) <<a href="mailto:agentzh@gmail.com">agentzh@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
On Wed, Aug 5, 2015 at 10:25 PM, Nitin Solanki wrote:<br>
> I want to execute python scripts into Nginx server. I don't want to<br>
> any frameworks for that. Core python script, I need to use.<br>
> Any help and step to follow . To do that.<br>
><br>
<br>
Because you're using NGINX, I'd assume you're after performance. I<br>
suggest you have a look at our ngx_lua module which supports<br>
nonblocking Lua scripting in the nginx core:<br>
<br>
<a href="https://github.com/openresty/lua-nginx-module" rel="noreferrer" target="_blank">https://github.com/openresty/lua-nginx-module</a><br>
<br>
Lua is a simple language and is pythanic in some ways :)<br>
<br>
If you insist in running Python in your apps, then you should try<br>
those fastcgi or uwsgi options instead.<br>
<br>
Just my 2 cents.<br>
<br>
Regards,<br>
-agentzh<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div>