Skip to content

Commit b55acb7

Browse files
committed
rebuild condition when running without nginx
1 parent 68fa9e6 commit b55acb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

func/rebuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ rebuild_web_domain_conf() {
282282
fi
283283

284284
# Checking proxy
285-
if [ ! -z "$PROXY" ]; then
285+
if [ ! -z "$PROXY_SYSTEM" ] && [ ! -z "$PROXY" ]; then
286286
tpl_file="$WEBTPL/$PROXY_SYSTEM/$PROXY.tpl"
287287
conf="$HOMEDIR/$user/conf/web/tmp_$PROXY_SYSTEM.conf"
288288
add_web_config

0 commit comments

Comments
 (0)