Skip to content

Instantly share code, notes, and snippets.

@knowncolor
knowncolor / build_nginx.sh
Last active August 29, 2015 14:16 — forked from MattWilcox/build_nginx.sh
Bash script to download, configure and install the latest OpenSSL configured nginx on your Raspbian Raspberry Pi
#!/usr/bin/env bash
# install and remove nginx via apt-get
# this sets up a lot of things which we would have to do manually otherwise
sudo apt-get -y install nginx
sudo apt-get -y remove nginx
# set up build directories
export BUILD_DIR=nginx-build
rm -rf $BUILD_DIR