Skip to content

Instantly share code, notes, and snippets.

View jmontrose's full-sized avatar

Jesse Montrose jmontrose

  • Berlin
  • 19:33 (UTC +02:00)
View GitHub Profile
#!/bin/bash
#
# Run with:
# $ heroku config:set AWS_S3_BUCKET=public-bucket
# $ heroku run 'curl https://gist.github.com/ejholmes/7120501/raw/build_nginx.sh | sh'
NGINX_VERSION=1.5.2
PCRE_VERSION=8.21
nginx_tarball_url=http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz