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 ff141e9 commit cb1659bCopy full SHA for cb1659b
bin/v-delete-web-domain
@@ -66,9 +66,6 @@ if [ ! -z "$WEB_BACKEND" ]; then
66
$BIN/v-delete-web-domain-backend $user $domain $restart
67
fi
68
69
-# Deleting domain from web.conf
70
-sed -i "/DOMAIN='$domain'/ d" $USER_DATA/web.conf
71
-
72
# Deleting vhost configuration
73
del_web_config "$WEB_SYSTEM" "$TPL.tpl"
74
@@ -80,6 +77,9 @@ if [ "$SSL" = 'yes' ]; then
80
77
rm -f $USER_DATA/ssl/$domain.*
81
78
82
79
+# Deleting domain from web.conf
+sed -i "/DOMAIN='$domain'/ d" $USER_DATA/web.conf
+
83
# Deleting proxy
84
if [ ! -z "$PROXY_SYSTEM" ] && [ ! -z "$PROXY" ]; then
85
del_web_config "$PROXY_SYSTEM" "$PROXY.tpl"
0 commit comments