From b55acb79f63c97dd382dda79bb54313b5514eeb9 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Wed, 19 Jun 2013 14:01:14 +0300 Subject: [PATCH] rebuild condition when running without nginx --- func/rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/func/rebuild.sh b/func/rebuild.sh index f51709b6..a0ccb5df 100644 --- a/func/rebuild.sh +++ b/func/rebuild.sh @@ -282,7 +282,7 @@ rebuild_web_domain_conf() { fi # Checking proxy - if [ ! -z "$PROXY" ]; then + if [ ! -z "$PROXY_SYSTEM" ] && [ ! -z "$PROXY" ]; then tpl_file="$WEBTPL/$PROXY_SYSTEM/$PROXY.tpl" conf="$HOMEDIR/$user/conf/web/tmp_$PROXY_SYSTEM.conf" add_web_config