Skip to content

timebug/using-ngxlua-in-upyun

Repository files navigation

Using ngx_lua in UPYUN

Run the Code

  1. Building and Installing Openresty
tar xzvf ngx_openresty-VERSION.tar.gz
cd ngx_openresty-VERSION/
./configure
make
make install
  1. Start the Nginx Server
cd work
mkdir logs

export PATH=/usr/local/openresty/nginx/sbin:$PATH
nginx -p `pwd`/ -c conf/nginx.conf
  1. Hello World
curl http://localhost:8080/hello

See Also

About

2014 Beijing OSC, 2015 Beijing OpenResty Con

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages