File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,9 @@ export OPENTELEMETRY_CPP_VERSION="v1.11.0"
106106# Check on https://github.com/open-telemetry/opentelemetry-proto
107107export OPENTELEMETRY_PROTO_VERSION=" v1.1.0"
108108
109+ # http://hg.nginx.org/njs
110+ export NGINX_NJS_VERSION=" 0.8.4"
111+
109112export BUILD_PATH=/tmp/build
110113
111114ARCH=$( uname -m)
@@ -276,6 +279,9 @@ get_src efb767487ea3f6031577b9b224467ddbda2ad51a41c5867a47582d4ad85d609e \
276279get_src d74f86ada2329016068bc5a243268f1f555edd620b6a7d6ce89295e7d6cf18da \
277280 " https://github.com/microsoft/mimalloc/archive/${MIMALOC_VERSION} .tar.gz" " mimalloc"
278281
282+ get_src 8191bff8491af9169a92e30e383ef8614717b0c6d40913d83b95051031e92321 \
283+ " http://hg.nginx.org/njs/archive/${NGINX_NJS_VERSION} .tar.gz" " njs"
284+
279285# improve compilation times
280286CORES=$(( $(grep - c ^processor / proc/ cpuinfo) - 1 ))
281287
@@ -481,7 +487,8 @@ WITH_MODULES=" \
481487 --add-dynamic-module=$BUILD_PATH /nginx-http-auth-digest \
482488 --add-dynamic-module=$BUILD_PATH /ModSecurity-nginx \
483489 --add-dynamic-module=$BUILD_PATH /ngx_http_geoip2_module \
484- --add-dynamic-module=$BUILD_PATH /ngx_brotli"
490+ --add-dynamic-module=$BUILD_PATH /ngx_brotli \
491+ --add-dynamic-module=$BUILD_PATH /njs/nginx"
485492
486493./configure \
487494 --prefix=/usr/local/nginx \
You can’t perform that action at this time.
0 commit comments