From db8fa0539651d8ebeee278c1b21c66846aae56e7 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Thu, 6 Aug 2015 09:13:12 -0600 Subject: [PATCH 1/6] changed versions and added ssl module --- scripts/build_nginx.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/build_nginx.sh b/scripts/build_nginx.sh index 05702549..a4b90692 100755 --- a/scripts/build_nginx.sh +++ b/scripts/build_nginx.sh @@ -9,9 +9,9 @@ # Once the dyno has is 'up' you can open your browser and navigate # this dyno's directory structure to download the nginx binary. -NGINX_VERSION=${NGINX_VERSION-1.5.7} -PCRE_VERSION=${PCRE_VERSION-8.21} -HEADERS_MORE_VERSION=${HEADERS_MORE_VERSION-0.23} +NGINX_VERSION=${NGINX_VERSION-1.9.3} +PCRE_VERSION=${PCRE_VERSION-8.37} +HEADERS_MORE_VERSION=${HEADERS_MORE_VERSION-0.26} nginx_tarball_url=http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz pcre_tarball_url=http://garr.dl.sourceforge.net/project/pcre/pcre/${PCRE_VERSION}/pcre-${PCRE_VERSION}.tar.bz2 @@ -41,6 +41,7 @@ echo "Downloading $headers_more_nginx_module_url" --with-pcre=pcre-${PCRE_VERSION} \ --prefix=/tmp/nginx \ --add-module=/${temp_dir}/nginx-${NGINX_VERSION}/headers-more-nginx-module-${HEADERS_MORE_VERSION} + --with-http_ssl_module make install ) From bd4daa4e63a17ed263a2ccf0fe765afaa11fcd08 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Thu, 6 Aug 2015 09:47:12 -0600 Subject: [PATCH 2/6] added slash to continue command. --- scripts/build_nginx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_nginx.sh b/scripts/build_nginx.sh index a4b90692..b30c17eb 100755 --- a/scripts/build_nginx.sh +++ b/scripts/build_nginx.sh @@ -40,7 +40,7 @@ echo "Downloading $headers_more_nginx_module_url" ./configure \ --with-pcre=pcre-${PCRE_VERSION} \ --prefix=/tmp/nginx \ - --add-module=/${temp_dir}/nginx-${NGINX_VERSION}/headers-more-nginx-module-${HEADERS_MORE_VERSION} + --add-module=/${temp_dir}/nginx-${NGINX_VERSION}/headers-more-nginx-module-${HEADERS_MORE_VERSION} \ --with-http_ssl_module make install ) From ce9535ca7ce619c080ab05400db00dc200d581ad Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Tue, 6 Oct 2015 08:57:01 -0600 Subject: [PATCH 3/6] Updated the nginx version from 1.9.3 to 1.9.5 --- scripts/build_nginx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_nginx.sh b/scripts/build_nginx.sh index b30c17eb..d8eb082b 100755 --- a/scripts/build_nginx.sh +++ b/scripts/build_nginx.sh @@ -9,7 +9,7 @@ # Once the dyno has is 'up' you can open your browser and navigate # this dyno's directory structure to download the nginx binary. -NGINX_VERSION=${NGINX_VERSION-1.9.3} +NGINX_VERSION=${NGINX_VERSION-1.9.5} PCRE_VERSION=${PCRE_VERSION-8.37} HEADERS_MORE_VERSION=${HEADERS_MORE_VERSION-0.26} From 994c49e489960cdde5f0deb373df876df9df9e98 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Tue, 6 Oct 2015 10:22:18 -0600 Subject: [PATCH 4/6] Updated the place where pcre is found --- scripts/build_nginx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_nginx.sh b/scripts/build_nginx.sh index d8eb082b..8958c8f8 100755 --- a/scripts/build_nginx.sh +++ b/scripts/build_nginx.sh @@ -14,7 +14,7 @@ PCRE_VERSION=${PCRE_VERSION-8.37} HEADERS_MORE_VERSION=${HEADERS_MORE_VERSION-0.26} nginx_tarball_url=http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz -pcre_tarball_url=http://garr.dl.sourceforge.net/project/pcre/pcre/${PCRE_VERSION}/pcre-${PCRE_VERSION}.tar.bz2 +pcre_tarball_url=http://downloads.sourceforge.net/project/pcre/pcre/${PCRE_VERSION}/pcre-${PCRE_VERSION}.tar.bz2 headers_more_nginx_module_url=https://github.com/agentzh/headers-more-nginx-module/archive/v${HEADERS_MORE_VERSION}.tar.gz temp_dir=$(mktemp -d /tmp/nginx.XXXXXXXXXX) From 19d168bf6e88e64a38e219e1daec4dff5bfa3975 Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Tue, 6 Oct 2015 11:15:16 -0600 Subject: [PATCH 5/6] Added http v2 module to configure. --- scripts/build_nginx.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build_nginx.sh b/scripts/build_nginx.sh index 8958c8f8..5465d4df 100755 --- a/scripts/build_nginx.sh +++ b/scripts/build_nginx.sh @@ -41,6 +41,7 @@ echo "Downloading $headers_more_nginx_module_url" --with-pcre=pcre-${PCRE_VERSION} \ --prefix=/tmp/nginx \ --add-module=/${temp_dir}/nginx-${NGINX_VERSION}/headers-more-nginx-module-${HEADERS_MORE_VERSION} \ + --with-http_v2_module \ --with-http_ssl_module make install ) From 3c1dc3d8a2a165ac2aa6a456118a9312c19e39ba Mon Sep 17 00:00:00 2001 From: Kevin Anderson Date: Fri, 8 Jan 2016 11:45:18 -0700 Subject: [PATCH 6/6] Changed the nginx version and added a status module for additional monitoring. --- scripts/build_nginx.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/build_nginx.sh b/scripts/build_nginx.sh index 5465d4df..aaf3ac1b 100755 --- a/scripts/build_nginx.sh +++ b/scripts/build_nginx.sh @@ -9,7 +9,7 @@ # Once the dyno has is 'up' you can open your browser and navigate # this dyno's directory structure to download the nginx binary. -NGINX_VERSION=${NGINX_VERSION-1.9.5} +NGINX_VERSION=${NGINX_VERSION-1.9.9} PCRE_VERSION=${PCRE_VERSION-8.37} HEADERS_MORE_VERSION=${HEADERS_MORE_VERSION-0.26} @@ -42,7 +42,8 @@ echo "Downloading $headers_more_nginx_module_url" --prefix=/tmp/nginx \ --add-module=/${temp_dir}/nginx-${NGINX_VERSION}/headers-more-nginx-module-${HEADERS_MORE_VERSION} \ --with-http_v2_module \ - --with-http_ssl_module + --with-http_ssl_module \ + --with-http_stub_status_module make install )