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 @@ -103,6 +103,9 @@ export OPENTELEMETRY_CPP_VERSION="v1.11.0"
103103# Check on https://github.com/open-telemetry/opentelemetry-proto
104104export OPENTELEMETRY_PROTO_VERSION=" v1.1.0"
105105
106+ # http://hg.nginx.org/njs
107+ export NGINX_NJS_VERSION=" 0.8.4"
108+
106109export BUILD_PATH=/tmp/build
107110
108111ARCH=$( uname -m)
@@ -270,6 +273,9 @@ get_src efb767487ea3f6031577b9b224467ddbda2ad51a41c5867a47582d4ad85d609e \
270273get_src d74f86ada2329016068bc5a243268f1f555edd620b6a7d6ce89295e7d6cf18da \
271274 " https://github.com/microsoft/mimalloc/archive/${MIMALOC_VERSION} .tar.gz" " mimalloc"
272275
276+ get_src 8191bff8491af9169a92e30e383ef8614717b0c6d40913d83b95051031e92321 \
277+ " http://hg.nginx.org/njs/archive/${NGINX_NJS_VERSION} .tar.gz" " njs"
278+
273279# improve compilation times
274280CORES=$(( $(grep - c ^processor / proc/ cpuinfo) - 1 ))
275281
@@ -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