I like Lua and I like Nginx then is normal to try OpenResty.

I will install in a Debian/Ubuntu system.


apt-get install build-essential libpcre3-dev libssl-dev

Get the source code from the download page:

wget https://openresty.org/download/openresty-VERSION.tar.gz
tar -xzvf openresty-VERSION.tar.gz
cd openresty-VERSION/
./configure -j2
make -j2
make install

Add this line to your ~/.bashrc or ~/.bash_profile file.

export PATH=/usr/local/openresty/bin:$PATH

Then execute:


And you could visit the page (the better place), and you will see this: