From beb473faadbf6539337b442ede7db8881a650b29 Mon Sep 17 00:00:00 2001 From: Jens Maus Date: Fri, 9 Aug 2024 09:18:33 +0200 Subject: [PATCH] add nginx-ntlm module to openresty build --- scripts/build-openresty | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/build-openresty b/scripts/build-openresty index 9f3a1bb..b154e1d 100755 --- a/scripts/build-openresty +++ b/scripts/build-openresty @@ -6,7 +6,7 @@ YELLOW='\E[1;33m' GREEN='\E[1;32m' RESET='\E[0m' -echo -e "${BLUE}❯ ${CYAN}Building OpenResty ${YELLOW}${OPENRESTY_VERSION} with nginx_http_geoip2 module...${RESET}" +echo -e "${BLUE}❯ ${CYAN}Building OpenResty ${YELLOW}${OPENRESTY_VERSION} with nginx_http_geoip2 and nginx-ntlm module...${RESET}" cd /tmp wget "https://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz" @@ -14,6 +14,8 @@ tar -xzf openresty-${OPENRESTY_VERSION}.tar.gz mv /tmp/openresty-${OPENRESTY_VERSION} /tmp/openresty git clone https://github.com/leev/ngx_http_geoip2_module.git mv /tmp/ngx_http_geoip2_module /tmp/openresty/ngx_http_geoip2_module +git clone https://github.com/gabihodoroaga/nginx-ntlm-module.git +mv /tmp/nginx-ntlm-module /tmp/openresty/nginx-ntlm-module cd /tmp/openresty ./configure \ @@ -55,7 +57,8 @@ cd /tmp/openresty --with-stream_realip_module \ --with-stream_ssl_module \ --with-stream_ssl_preread_module \ - --add-dynamic-module=/tmp/openresty/ngx_http_geoip2_module + --add-dynamic-module=/tmp/openresty/ngx_http_geoip2_module \ + --add-dynamic-module=/tmp/openresty/nginx-ntlm-module make -j2