$ luarocks install kong-plugin-lua-resty-waf
Install libpcre dependency
$ apt-get install libpcre++-dev
$ luarocks install lrexlib-PCRE
$ luarocks install kong-plugin-lua-resty-waf
Install libpcre dependency
$ apt-get install libpcre++-dev
$ luarocks install lrexlib-PCRE