Sfoglia il codice sorgente

rebuild condition when running without nginx

Serghey Rodin 12 anni fa
parent
commit
b55acb79f6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      func/rebuild.sh

+ 1 - 1
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