summaryrefslogtreecommitdiff
path: root/nginx.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-04-07 08:47:14 +0200
committerAndreas Maunz <andreas@maunz.de>2011-04-07 08:47:14 +0200
commit721feafdb56c18fb7424d505377abe80d78f4e7b (patch)
tree4432d4a80bbf49b34d4cdcab4468adfe36fd0d7d /nginx.sh
parente8dc762a04a5559392ec6fa8bdd055bd6557acc7 (diff)
Nginx Dest Conf fixed
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 3aefac0..6fb14dc 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/" ./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/nginx.conf 2>>$LOG
fi
cd "$DIR"