lua-resty-limit-traffic-dynamic

Configure the binary installer repository

First we need to configure the repository for the binary installer, follow the command below. (The CLIENT_TOKEN in the command needs to be replaced with a valid Token from the subscription email)

For Ubuntu/Debian/CentOS/Rocky/Red Hat Enterprise Linux/Fedora OS/Alibaba Cloud Linux/Tencent Linux:

curl -o get-xray-priv-lib-repo.sh https://pkg2.openresty.com/scripts/get-xray-priv-lib-repo.sh

sudo bash get-xray-priv-lib-repo.sh -l lua-resty-limit-traffic-dynamic -t CLIENT_TOKEN

Installing packages

OpenResty 1.19.9.x

For operating systems using the yum package manager, run the following command to install the private library.

sudo yum install --disablerepo="*" --enablerepo=lua-resty-limit-traffic-dynamic -y lua-resty-limit-traffic-dynamic dymetrics-nginx-module-1.19.9 openresty-yajl openresty-yajl-devel

For operating systems using the dnf package manager, execute the following command to install the private libraries.

sudo dnf install --disablerepo="*" --enablerepo=lua-resty-limit-traffic-dynamic -y lua-resty-limit-traffic-dynamic dymetrics-nginx-module-1.19.9 openresty-yajl openresty-yajl-devel

For operating systems using the apt package manager, execute the following command to install the private libraries.

sudo apt-get install -y lua-resty-limit-traffic-dynamic dymetrics-nginx-module-1.19.9 openresty-yajl openresty-yajl-dev

OpenResty 1.21.4.x

For operating systems using the yum package manager, run the following command to install the private library.

sudo yum install --disablerepo="*" --enablerepo=lua-resty-limit-traffic-dynamic -y lua-resty-limit-traffic-dynamic dymetrics-nginx-module-1.21.4 openresty-yajl openresty-yajl-devel

For operating systems using the dnf package manager, execute the following command to install the private libraries.

sudo dnf install --disablerepo="*" --enablerepo=lua-resty-limit-traffic-dynamic -y lua-resty-limit-traffic-dynamic dymetrics-nginx-module-1.21.4 openresty-yajl openresty-yajl-devel

For operating systems using the apt package manager, execute the following command to install the private libraries.

sudo apt-get install -y lua-resty-limit-traffic-dynamic dymetrics-nginx-module-1.21.4 openresty-yajl openresty-yajl-dev

User Manual

The user manual is at https://doc.openresty.com/en/xray/priv-libs/manual/lua-resty-limit-traffic-dynamic/.