From dcee91d7bc74197a153a0a4b285b6663aa54d6e6 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 20 Sep 2022 12:51:12 +0700 Subject: [PATCH] build.sh : build Nginx 1.23.1 --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 33d1cc9..4c552e1 100644 --- a/build.sh +++ b/build.sh @@ -29,14 +29,14 @@ tar xzf pcre-8.45.tar.gz # Build Nginx cd ~/nginx_build if [[ -f "/usr/bin/curl" ]]; then - curl -L https://nginx.org/download/nginx-1.21.6.tar.gz --output nginx-1.21.6.tar.gz + curl -L https://nginx.org/download/nginx-1.23.1.tar.gz --output nginx-1.23.1.tar.gz elif [[ -f "/usr/bin/wget" ]]; then - wget https://nginx.org/download/nginx-1.21.6.tar.gz -O nginx-1.21.6.tar.gz + wget https://nginx.org/download/nginx-1.23.1.tar.gz -O nginx-1.23.1.tar.gz else echo "Required Dependencies for download Nginx doesn't exist" fi -tar xzf nginx-1.21.6.tar.gz && cd nginx-1.21.6 +tar xzf nginx-1.23.1.tar.gz && cd nginx-1.23.1 if [[ -f "/usr/bin/curl" ]]; then curl https://raw.githubusercontent.com/minoplhy/nginx-noroot/main/configure.sh | bash