Skip to content

Commit

Permalink
download nginx version 1.26.2 via https
Browse files Browse the repository at this point in the history
  • Loading branch information
andipabst authored Sep 3, 2024
1 parent ec66a23 commit fe785a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit fe785a5

Please sign in to comment.