Adds ngx_brotli module

This commit is contained in:
Jamie Curnow
2024-10-17 15:34:52 +10:00
parent 78572cc85e
commit 5d4df92e79
3 changed files with 30 additions and 1 deletions
+3 -1
View File
@@ -12,6 +12,7 @@ cd /tmp
wget "https://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz"
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
cd /tmp/openresty
@@ -55,7 +56,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-module=/tmp/ngx_brotli
make -j2