repl: NGINX模块Lua和luajit代码的交互控制台(REPL)
安装
如果您尚未设置RPM仓库订阅,请注册。然后,您可以继续以下步骤。
CentOS/RHEL 7或Amazon Linux 2
yum -y install https://extras.getpagespeed.com/release-latest.rpm
yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install lua-resty-repl
CentOS/RHEL 8+、Fedora Linux、Amazon Linux 2023
dnf -y install https://extras.getpagespeed.com/release-latest.rpm
dnf -y install lua5.1-resty-repl
要在NGINX中使用此Lua库,请确保已安装nginx-module-lua。
本文档描述了lua-resty-repl v0.0.1,该版本于2016年8月29日发布。
GitHub
您可以在nginx-module-repl的GitHub仓库中找到此模块的其他配置提示和文档。