File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ GEOIP_COUNTRY_URL="https://download.maxmind.com/app/geoip_download?edition_id=Ge
1717GEOIP_MOD_URL=' https://github.com/leev/ngx_http_geoip2_module/archive/3.3.tar.gz'
1818GEOIP_UPDATE_CLI=' https://github.com/maxmind/geoipupdate/releases/download/v7.1.0/geoipupdate_7.1.0_linux_amd64.tar.gz'
1919GEOIP_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'
2323STATSD_URL=' https://github.com/UKHomeOffice/nginx-statsd/archive/0.0.1-ngxpatch.tar.gz'
2424
2525MAXMIND_PATH=' /usr/share/GeoIP'
9595
9696echo " Install NAXSI default rules"
9797mkdir -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
100100echo " Installing luarocks"
101101pushd 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
105105make build install
106106popd
You can’t perform that action at this time.
0 commit comments