Update README.md

This commit is contained in:
𝓙𝓾𝓵𝓲𝓸
2025-02-24 16:03:23 +01:00
committed by GitHub
parent e9a1efbf89
commit 035d396c4f
+8
View File
@@ -83,12 +83,20 @@ LUA RESTY CORE SCRIPTS = /usr/nginx_lua
```
## How to install lua scripts
- Method 1
```bash
. /root/The-World-Is-Yours/version
cd /opt/mod/; git clone https://github.com/openresty/lua-resty-lrucache.git
cd /opt/mod/lua-resty-lrucache; make install PREFIX=${LUA_SCRIPTS}
nginx -s reload
```
- Method 2
```bash
# At first when you use this method you may get errors for missing lua scripts, you can install them with "luarocks".
apt-get install luarocks
luarocks install lua-resty-lrucache
```
# Support options.