From 52ac5cf84bbfe9c6f4246dc05d29605c4ae969bd Mon Sep 17 00:00:00 2001 From: catatsuy Date: Sat, 20 May 2017 19:35:23 +0900 Subject: [PATCH] change the URLs accessible by HTTPS to HTTPS nginx-build has not checked the hash value of the source codes. If you can use HTTPS, you should download it with HTTPS. --- builder/const.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builder/const.go b/builder/const.go index 4a67086..106fa7d 100644 --- a/builder/const.go +++ b/builder/const.go @@ -3,7 +3,7 @@ package builder // nginx const ( NginxVersion = "1.13.0" - NginxDownloadURLPrefix = "http://nginx.org/download" + NginxDownloadURLPrefix = "https://nginx.org/download" ) // pcre @@ -15,13 +15,13 @@ const ( // openssl const ( OpenSSLVersion = "1.0.2k" - OpenSSLDownloadURLPrefix = "http://www.openssl.org/source" + OpenSSLDownloadURLPrefix = "https://www.openssl.org/source" ) // zlib const ( ZlibVersion = "1.2.11" - ZlibDownloadURLPrefix = "http://zlib.net/fossils" + ZlibDownloadURLPrefix = "https://zlib.net/fossils" ) // openResty