安装lua环境
sudo apt-get install -y lua5.1 liblua5.1-0 liblua5.1-0-dev
sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.1.so /usr/lib/liblua.so
编译nginx
./configure --prefix=/home/work/nginx --with-http_ssl_module --with-http_realip_module --add-module=/home/work/backup/echo-nginx-module-0.58 --add-module=/home/work/backup/lua-nginx-module-0.9.16
make -j2
make install