Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.46 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.46 KB

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