refix(infra): NGINX install 07/42307/1
authorPeter Mikus <[email protected]>
Tue, 4 Feb 2025 13:17:51 +0000 (14:17 +0100)
committerPeter Mikus <[email protected]>
Tue, 4 Feb 2025 13:17:51 +0000 (14:17 +0100)
Signed-off-by: Peter Mikus <[email protected]>
Change-Id: I66482d79734758f45c99f67d34273a5524a213b0

fdio.infra.ansible/roles/docker_images/files/base/Dockerfile
resources/libraries/bash/function/nginx.sh

index f30caeb..b860f1e 100644 (file)
@@ -43,6 +43,7 @@ RUN apt-get -q update \
         libnuma1 \
         libnuma-dev \
         libpcap-dev \
+        libpcre2-dev \
         libpixman-1-dev \
         libsctp-dev \
         libssl-dev \
index 37c7be6..8c898ec 100755 (executable)
@@ -108,8 +108,6 @@ function nginx_compile () {
     param+="--with-pcre "
     # Enable ngx_http_realip_module.
     param+="--with-http_realip_module "
-    # Disable http_rewrite_module
-    param+="--without-http_rewrite_module "
     params=(${param})
     ./configure "${params[@]}" || die "Failed to configure NGINX!"
     make -j 16;make install || die "Failed to compile NGINX!"