fix(core): NGINX install 73/42273/2
authorPeter Mikus <[email protected]>
Fri, 31 Jan 2025 08:45:09 +0000 (09:45 +0100)
committerPeter Mikus <[email protected]>
Fri, 31 Jan 2025 08:45:32 +0000 (08:45 +0000)
Signed-off-by: Peter Mikus <[email protected]>
Change-Id: I674289fbb576b734f745ed81140cccc595f00316

resources/libraries/bash/function/nginx.sh

index a2cf8e6..37c7be6 100755 (executable)
@@ -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!"