aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorPeter Mikus <peter.mikus@icloud.com>2025-01-31 09:45:09 +0100
committerPeter Mikus <peter.mikus@icloud.com>2025-01-31 08:46:09 +0000
commitebe2a23caca0ecb93940a86436fe618448864191 (patch)
tree200ff2673495b46ab6e3c1d812ca24967b77758e /resources
parent44ce5cb3b211b0dbe02e09b1f1ea1cf35900e156 (diff)
fix(core): NGINX installoper-250127
Signed-off-by: Peter Mikus <peter.mikus@icloud.com> Change-Id: I674289fbb576b734f745ed81140cccc595f00316 (cherry picked from commit 3cc6d0118a12fda5d728faa5287e9d81687b01f0) (cherry picked from commit ef05c54bf856f50863f1dcbfb1d429f5c5d9ecac)
Diffstat (limited to 'resources')
-rwxr-xr-xresources/libraries/bash/function/nginx.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/libraries/bash/function/nginx.sh b/resources/libraries/bash/function/nginx.sh
index a2cf8e6514..37c7be65ec 100755
--- a/resources/libraries/bash/function/nginx.sh
+++ b/resources/libraries/bash/function/nginx.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-# Copyright (c) 2023 Intel and/or its affiliates.
+# Copyright (c) 2025 Intel and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
@@ -108,6 +108,8 @@ 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!"