aboutsummaryrefslogtreecommitdiffstats
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:45:32 +0000
commita4c045b48d0a7f51aca90b8127c75c045f6d7068 (patch)
treeac28ed19502c79d89bb84ba9e3e53abfe453e426
parenta8abc698a4d03488ac3808a9a3f106d6cb047e98 (diff)
fix(core): NGINX install
Signed-off-by: Peter Mikus <peter.mikus@icloud.com> Change-Id: I674289fbb576b734f745ed81140cccc595f00316
-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!"