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 f9033d8 commit d4de297Copy full SHA for d4de297
bin/v-add-web-domain
@@ -158,7 +158,8 @@ if [ -x $WEBTPL/$WEB_SYSTEM/$WEB_BACKEND/$template.sh ]; then
158
fi
159
160
# Checking web config include
161
-web_include="/etc/$WEB_SYSTEM/conf.d/vesta.conf"
+web_conf="/etc/$WEB_SYSTEM/conf.d/vesta.conf"
162
+web_include=$(grep "$conf" $web_conf )
163
if [ -z "$web_include" ] && [ "$WEB_SYSTEM" != 'nginx' ]; then
164
echo "Include $conf" >> $web_conf
165
0 commit comments