Skip to content

Commit 9719481

Browse files
Upgrade OpenResty
1 parent 5f369e6 commit 9719481

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ GEOIP_COUNTRY_URL="https://download.maxmind.com/app/geoip_download?edition_id=Ge
1717
GEOIP_MOD_URL='https://github.com/leev/ngx_http_geoip2_module/archive/3.3.tar.gz'
1818
GEOIP_UPDATE_CLI='https://github.com/maxmind/geoipupdate/releases/download/v7.1.0/geoipupdate_7.1.0_linux_amd64.tar.gz'
1919
GEOIP_URL='https://github.com/maxmind/libmaxminddb/releases/download/1.6.0/libmaxminddb-1.6.0.tar.gz'
20-
LUAROCKS_URL='https://luarocks.github.io/luarocks/releases/luarocks-3.7.0.tar.gz'
21-
NAXSI_URL='https://github.com/nbs-system/naxsi/archive/1.3.tar.gz'
22-
OPEN_RESTY_URL='http://openresty.org/download/openresty-1.19.3.2.tar.gz'
20+
LUAROCKS_URL='https://luarocks.github.io/luarocks/releases/luarocks-3.12.0.tar.gz'
21+
NAXSI_URL='https://github.com/wargio/naxsi/releases/download/1.7/naxsi-1.7-src-with-deps.tar.gz'
22+
OPEN_RESTY_URL='http://openresty.org/download/openresty-1.27.1.2.tar.gz'
2323
STATSD_URL='https://github.com/UKHomeOffice/nginx-statsd/archive/0.0.1-ngxpatch.tar.gz'
2424

2525
MAXMIND_PATH='/usr/share/GeoIP'
@@ -95,12 +95,12 @@ popd
9595

9696
echo "Install NAXSI default rules"
9797
mkdir -p /usr/local/openresty/naxsi/
98-
cp "./naxsi/naxsi_config/naxsi_core.rules" /usr/local/openresty/naxsi/
98+
cp "./naxsi/naxsi_rules/naxsi_core.rules" /usr/local/openresty/naxsi/
9999

100100
echo "Installing luarocks"
101101
pushd luarocks
102102
./configure --with-lua=/usr/local/openresty/luajit \
103-
--lua-suffix=jit-2.1.0-beta2 \
103+
--lua-suffix=jit-2.1 \
104104
--with-lua-include=/usr/local/openresty/luajit/include/luajit-2.1
105105
make build install
106106
popd

0 commit comments

Comments
 (0)