rebuild condition when running without nginx

This commit is contained in:
Serghey Rodin 2013-06-19 14:01:14 +03:00
parent 68fa9e642e
commit b55acb79f6

View file

@ -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