agentzh
March 09, 2011 10:42PM
On Thu, Mar 10, 2011 at 4:39 AM, John Moore <grails@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

wget 'http://agentzh.org/misc/nginx/ngx_openresty-0.8.54.1.tar.gz'
tar -xzvf ngx_openresty-0.8.54.1.tar.gz
cd ngx_openresty-0.8.54.1/
./configure
make
make install
vi /path/to/my/nginx.conf # edit it!
/usr/local/openresty/nginx/sbin/nginx -c /path/to/my/nginx.conf # start it!

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!

Cheers,
-agentzh

[1] ngx_openresty project page: https://github.com/agentzh/ngx_openresty

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Use nginx to call shell script - simplest way?

J2R March 08, 2011 07:12AM

Re: Use nginx to call shell script - simplest way?

agentzh March 08, 2011 07:22AM

Re: Use nginx to call shell script - simplest way?

J2R March 09, 2011 01:52PM

Re: Use nginx to call shell script - simplest way?

Richard Kearsley March 09, 2011 02:18PM

Re: Use nginx to call shell script - simplest way?

J2R March 09, 2011 03:48PM

Re: Use nginx to call shell script - simplest way?

agentzh March 09, 2011 10:42PM

Re: Use nginx to call shell script - simplest way?

agentzh March 09, 2011 10:56PM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

Elena Zwetkow March 10, 2011 03:20AM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

agentzh March 10, 2011 03:32AM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

Elena Zwetkow March 10, 2011 04:06AM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

agentzh March 10, 2011 04:36AM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

Alexander Kunz March 15, 2011 06:20PM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

agentzh March 15, 2011 10:32PM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

Alexander Kunz March 16, 2011 03:26AM

Re: [ANN] ngx_echo v0.35: ability to POST/PUT local files as subrequest bodies

agentzh March 16, 2011 03:40AM

Re: Use nginx to call shell script - simplest way?

António P. P. Almeida March 08, 2011 02:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 142
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready