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 @@ -104,6 +104,9 @@ export OPENTELEMETRY_CPP_VERSION=v1.18.0
104104# Check for recent changes: https://github.com/open-telemetry/opentelemetry-proto/compare/v1.5.0...main
105105export OPENTELEMETRY_PROTO_VERSION=v1.5.0
106106
107+ # http://hg.nginx.org/njs
108+ export NGINX_NJS_VERSION=" 0.8.4"
109+
107110export BUILD_PATH=/tmp/build
108111
109112ARCH=$( uname -m)
@@ -271,6 +274,9 @@ get_src efb767487ea3f6031577b9b224467ddbda2ad51a41c5867a47582d4ad85d609e \
271274get_src d74f86ada2329016068bc5a243268f1f555edd620b6a7d6ce89295e7d6cf18da \
272275 " https://github.com/microsoft/mimalloc/archive/${MIMALOC_VERSION} .tar.gz" " mimalloc"
273276
277+ get_src 8191bff8491af9169a92e30e383ef8614717b0c6d40913d83b95051031e92321 \
278+ " http://hg.nginx.org/njs/archive/${NGINX_NJS_VERSION} .tar.gz" " njs"
279+
274280# improve compilation times
275281CORES=$(( $(grep - c ^processor / proc/ cpuinfo) - 1 ))
276282
@@ -489,7 +495,8 @@ WITH_MODULES=" \
489495 --add-dynamic-module=$BUILD_PATH /nginx-http-auth-digest \
490496 --add-dynamic-module=$BUILD_PATH /ModSecurity-nginx \
491497 --add-dynamic-module=$BUILD_PATH /ngx_http_geoip2_module \
492- --add-dynamic-module=$BUILD_PATH /ngx_brotli"
498+ --add-dynamic-module=$BUILD_PATH /ngx_brotli \
499+ --add-dynamic-module=$BUILD_PATH /njs/nginx"
493500
494501./configure \
495502 --prefix=/usr/local/nginx \
You can’t perform that action at this time.
0 commit comments