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.
2 parents d0a3c4b + 41c9b0a commit 79bcc31Copy full SHA for 79bcc31
bin/v-add-web-domain-backend
@@ -49,6 +49,10 @@ check_hestia_demo_mode
49
prepare_web_backend
50
get_domain_values 'web'
51
52
+if [[ -n "$BACKEND" && "$BACKEND" != "$template" ]];then
53
+ check_result "$E_EXISTS" "Pool already exists"
54
+fi
55
+
56
# Allocating backend port
57
backend_port=9000
58
ports=$(grep -v '^;' $pool/* 2>/dev/null |grep listen |grep -o :[0-9].*)
bin/v-change-web-domain-name
@@ -110,6 +110,11 @@ if [ -n "$PROXY_SYSTEM" ]; then
110
fi
111
112
113
+# Delete backend
114
+if [ -n "$BACKEND" ]; then
115
+ delete_web_backend
116
117
118
#----------------------------------------------------------#
119
# Hestia #
120
0 commit comments