summaryrefslogtreecommitdiff
path: root/nginx.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-04-07 10:23:47 +0200
committerAndreas Maunz <andreas@maunz.de>2011-04-07 10:23:47 +0200
commitf7ec0751f99cded4101fac5daf8a24c36d018e8e (patch)
tree0b56847caae06d05131d8c28c2b4e091a2452353 /nginx.sh
parent9685dad196274640d56d9407f4576620c65f6d64 (diff)
Fixed nginx.conf
Diffstat (limited to 'nginx.sh')
-rwxr-xr-xnginx.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx.sh b/nginx.sh
index 6fb14dc..2e52f62 100755
--- a/nginx.sh
+++ b/nginx.sh
@@ -41,7 +41,7 @@ if ! $NGINX_DONE; then
passenger=`ls -d passenger*`;
cd - >>$LOG 2>&1
servername=`hostname`
- sed -e "s/PASSENGER/$passenger/;s/SERVERNAME/$servername/;s/RUBY_DEST/$RUBY_DEST/;s/NGINX_DEST/$NGINX_DEST/" ./nginx.conf > $NGINX_DEST/nginx.conf 2>>$LOG
+ sed -e "s/PASSENGER/$passenger/;s/SERVERNAME/$servername/;s/RUBY_DEST/$RUBY_DEST/;s/NGINX_DEST/$NGINX_DEST/" "./nginx.conf" > $NGINX_DEST/conf/nginx.conf 2>>$LOG
fi
cd "$DIR"