Skip to content

Commit 0534f78

Browse files
committed
Update openresty download URL for better reliability.
We seem to periodically see DNS issues with openresty.org's DNS, so download from github instead.
1 parent 953a429 commit 0534f78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/cmake/openresty.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ list(APPEND OPENRESTY_CONFIGURE_CMD --add-module=${NGX_TXID_SOURCE_DIR})
7575
ExternalProject_Add(
7676
openresty
7777
DEPENDS libgeoip ngx_dyups ngx_txid openssl pcre
78-
URL https://openresty.org/download/openresty-${OPENRESTY_VERSION}.tar.gz
78+
URL https://github.com/openresty/openresty/releases/download/v${OPENRESTY_VERSION}/openresty-${OPENRESTY_VERSION}.tar.gz
7979
URL_HASH MD5=${OPENRESTY_HASH}
8080
BUILD_IN_SOURCE 1
8181
CONFIGURE_COMMAND ${OPENRESTY_CONFIGURE_CMD}

0 commit comments

Comments
 (0)