From fe785a5a0456dbc154a98617fe68a9546ed0badd Mon Sep 17 00:00:00 2001 From: Andi Pabst Date: Tue, 3 Sep 2024 18:25:13 +0200 Subject: [PATCH] download nginx version 1.26.2 via https --- bin/compile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/compile b/bin/compile index 45c22c0..1cf67c7 100755 --- a/bin/compile +++ b/bin/compile @@ -3,7 +3,7 @@ set -eo pipefail [[ $TRACE ]] && set -x -NGINX_VERSION="1.25.2" +NGINX_VERSION="1.26.2" NGINX_TARBALL="nginx-${NGINX_VERSION}.tar.gz" PCRE_VERSION="10.42" PCRE_TARBALL="pcre2-${PCRE_VERSION}.tar.gz" @@ -51,7 +51,7 @@ cd "$CACHE_DIR" if [[ ! -d "${NGINX_TARBALL%.tar.gz}" ]]; then echo "-----> Download and unzip nginx ${NGINX_VERSION} via http" - curl -sSL "http://nginx.org/download/${NGINX_TARBALL}" -o "${NGINX_TARBALL}" + curl -sSL "https://nginx.org/download/${NGINX_TARBALL}" -o "${NGINX_TARBALL}" tar xzf "${NGINX_TARBALL}" && rm -f "${NGINX_TARBALL}" fi