This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |