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"
106
106
# Check on https://github.com/open-telemetry/opentelemetry-proto
107
107
export OPENTELEMETRY_PROTO_VERSION=" v1.1.0"
108
108
109
+ # http://hg.nginx.org/njs
110
+ export NGINX_NJS_VERSION=" 0.8.4"
111
+
109
112
export BUILD_PATH=/tmp/build
110
113
111
114
ARCH=$( uname -m)
@@ -276,6 +279,9 @@ get_src efb767487ea3f6031577b9b224467ddbda2ad51a41c5867a47582d4ad85d609e \
276
279
get_src d74f86ada2329016068bc5a243268f1f555edd620b6a7d6ce89295e7d6cf18da \
277
280
" https://github.com/microsoft/mimalloc/archive/${MIMALOC_VERSION} .tar.gz" " mimalloc"
278
281
282
+ get_src 8191bff8491af9169a92e30e383ef8614717b0c6d40913d83b95051031e92321 \
283
+ " http://hg.nginx.org/njs/archive/${NGINX_NJS_VERSION} .tar.gz" " njs"
284
+
279
285
# improve compilation times
280
286
CORES=$(( $(grep - c ^processor / proc/ cpuinfo) - 1 ))
281
287
@@ -481,7 +487,8 @@ WITH_MODULES=" \
481
487
--add-dynamic-module=$BUILD_PATH /nginx-http-auth-digest \
482
488
--add-dynamic-module=$BUILD_PATH /ModSecurity-nginx \
483
489
--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"
485
492
486
493
./configure \
487
494
--prefix=/usr/local/nginx \
You can’t perform that action at this time.
0 commit comments