Configure core Python scripts into Nginx
Yichun Zhang (agentzh)
agentzh at gmail.com
Wed Aug 5 15:22:28 UTC 2015
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:
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.
More information about the nginx