Explorar o código

nginx support on domain creation

Serghey Rodin %!s(int64=13) %!d(string=hai) anos
pai
achega
c42ea979d3
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      bin/v-add-domain

+ 3 - 0
bin/v-add-domain

@@ -60,6 +60,9 @@ fi
 if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB_SYSTEM" != 'no' ]; then
     $BIN/v-add-web-domain $user $domain $ip
     retun_code=$?
+    if [ "$PROXY_SYSTEM" = 'nginx' ] && [ "$retun_code" -eq 0 ]; then
+        $BIN/v-add-web-domain-nginx $user
+    fi
 fi
 
 # DNS domain