diff --git a/bin/nginx-cedar b/bin/nginx-cedar deleted file mode 100755 index ab924a91..00000000 Binary files a/bin/nginx-cedar and /dev/null differ diff --git a/bin/nginx-cedar-14 b/bin/nginx-cedar-14 index 9065133c..5b5b639d 100755 Binary files a/bin/nginx-cedar-14 and b/bin/nginx-cedar-14 differ diff --git a/readme.md b/readme.md index 56485704..2b2857f1 100644 --- a/readme.md +++ b/readme.md @@ -9,7 +9,8 @@ Some application servers (e.g. Ruby's Unicorn) halt progress when dealing with n ## Versions * Buildpack Version: 0.4 -* NGINX Version: 1.5.7 +* NGINX Version: 1.7.10 +* Nginix Module - Headers More version: 0.25 ## Requirements @@ -71,6 +72,8 @@ You can provide your own NGINX config by creating a file named `nginx.conf.erb` See [scripts/build_nginx.sh](scripts/build_nginx.sh) for the build steps. Configuring is as easy as changing the "./configure" options. +In order to update the binary you should fork this repository, clone this repo into a new (STANDART STACK) heroku application while making your build changes, then download the binary from the incorporated web server and update the corresponding files in the build folder + ### Application/Dyno coordination The buildpack will not start NGINX until a file has been written to `/tmp/app-initialized`. Since NGINX binds to the dyno's $PORT and since the $PORT determines if the app can receive traffic, you can delay NGINX accepting traffic until your application is ready to handle it. The examples below show how/when you should write the file when working with Unicorn. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..e69de29b diff --git a/scripts/build_nginx.sh b/scripts/build_nginx.sh index 05702549..89f35e63 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} +NGINX_VERSION=${NGINX_VERSION-1.7.10} PCRE_VERSION=${PCRE_VERSION-8.21} -HEADERS_MORE_VERSION=${HEADERS_MORE_VERSION-0.23} +HEADERS_MORE_VERSION=${HEADERS_MORE_VERSION-0.25} 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