File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
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
+ # Check for recent changes: https://github.com/nginx/njs/compare/0.8.7...master
110
+ export NJS_VERSION=" 0.8.7"
111
+
109
112
export BUILD_PATH=/tmp/build
110
113
111
114
ARCH=$( uname -m)
@@ -414,6 +417,12 @@ Include /etc/nginx/owasp-modsecurity-crs/rules/RESPONSE-980-CORRELATION.conf
414
417
Include /etc/nginx/owasp-modsecurity-crs/rules/RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf
415
418
" > /etc/nginx/owasp-modsecurity-crs/nginx-modsecurity.conf
416
419
420
+ # checkout njs module
421
+ cd " $BUILD_PATH "
422
+ git clone -n https://github.com/nginx/njs
423
+ cd njs/
424
+ git checkout $NJS_VERSION
425
+
417
426
# build nginx
418
427
cd " $BUILD_PATH /nginx-$NGINX_VERSION "
419
428
@@ -478,6 +487,7 @@ WITH_MODULES=" \
478
487
--add-module=$BUILD_PATH /lua-nginx-module \
479
488
--add-module=$BUILD_PATH /stream-lua-nginx-module \
480
489
--add-module=$BUILD_PATH /lua-upstream-nginx-module \
490
+ --add-module=$BUILD_PATH /njs/nginx \
481
491
--add-dynamic-module=$BUILD_PATH /nginx-http-auth-digest \
482
492
--add-dynamic-module=$BUILD_PATH /ModSecurity-nginx \
483
493
--add-dynamic-module=$BUILD_PATH /ngx_http_geoip2_module \
You can’t perform that action at this time.
0 commit comments