atom feed16 messages in ru.sysoev.nginxRe: Use nginx to call shell script - ...
FromSent OnAttachments
John MooreMar 8, 2011 4:07 am 
agentzhMar 8, 2011 4:19 am 
António P. P. AlmeidaMar 8, 2011 10:59 am 
John MooreMar 9, 2011 10:42 am 
Richard KearsleyMar 9, 2011 11:15 am 
John MooreMar 9, 2011 12:39 pm 
agentzhMar 9, 2011 7:38 pm 
agentzhMar 9, 2011 7:52 pm 
Elena ZwetkowMar 10, 2011 12:16 am 
agentzhMar 10, 2011 12:28 am 
Elena ZwetkowMar 10, 2011 1:01 am 
agentzhMar 10, 2011 1:33 am 
Alexander KunzMar 15, 2011 3:14 pm 
agentzhMar 15, 2011 7:28 pm 
Alexander KunzMar 16, 2011 12:22 am 
agentzhMar 16, 2011 12:36 am 
Subject:Re: Use nginx to call shell script - simplest way?
From:agentzh (agen@gmail.com)
Date:Mar 9, 2011 7:38:23 pm
List:ru.sysoev.nginx

On Thu, Mar 10, 2011 at 4:39 AM, John Moore <gra@jmsd.co.uk> wrote:

Sure, the actual OS call is dead simple. Setting nginx up to use lua looks a little trickier than what I needed to do with thttpd,

I'm not sure which OS you are in, but setting up ngx_openresty [1] should be as simple as

The ngx_openresty bundle contains nginx 0.8.54, the standard lua 5.1 interperter, the ngx_lua module, and many other goodies. It has been tested on both Linux and Solaris, but should also work in other OS's like Mac OS X and *BSD. Feedback welcome!