Browse Source

fix missing local ip

Serghey Rodin 9 years ago
parent
commit
0902b1c58d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      bin/v-add-web-domain-alias

+ 1 - 0
bin/v-add-web-domain-alias

@@ -51,6 +51,7 @@ is_package_full 'WEB_ALIASES'
 get_domain_values 'web'
 get_domain_values 'web'
 
 
 # Preparing domain values for the template substitution
 # Preparing domain values for the template substitution
+local_ip=$(get_real_ip $IP)
 if [ -z "$ALIAS" ]; then
 if [ -z "$ALIAS" ]; then
     ALIAS="$dom_alias"
     ALIAS="$dom_alias"
 else
 else