Initial version

This commit is contained in:
rhy-jot
2013-08-16 23:44:22 -07:00
commit 070274df73
6 changed files with 118 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
set -e
apt-get update
apt-get -y install nginx
BINDIR=$(dirname "$0")
if [[ ! -f $1/nginx.conf.erb ]]; then
cp $BINDIR/../conf/nginx.conf.erb $1/nginx.conf.erb
fi
if [[ ! -f $1/mime.types ]]; then
cp $BINDIR/../conf/mime.types $1/mime.types
fi