We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e193e0 commit bfd900aCopy full SHA for bfd900a
bin/v-add-web-domain
@@ -39,7 +39,7 @@ source $VESTA/conf/vesta.conf
39
#----------------------------------------------------------#
40
41
check_args '3' "$#" 'USER DOMAIN IP [RESTART] [ALIASES] [PROXY_EXTENTIONS]'
42
-validate_format 'user' 'domain' 'ip' 'extentions'
+validate_format 'user' 'domain' 'ip'
43
is_system_enabled "$WEB_SYSTEM" 'WEB_SYSTEM'
44
is_object_valid 'user' 'USER' "$user"
45
is_object_unsuspended 'user' 'USER' "$user"
@@ -55,6 +55,7 @@ if [ ! -z "$aliases" ]; then
55
done
56
fi
57
if [ ! -z "$PROXY_SYSTEM" ]; then
58
+ validate_format 'extentions'
59
proxy=$(get_user_value '$PROXY_TEMPLATE')
60
is_proxy_template_valid $proxy
61
0 commit comments