mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
web_include fix
This commit is contained in:
parent
f9033d8102
commit
d4de297092
1 changed files with 2 additions and 1 deletions
|
@ -158,7 +158,8 @@ if [ -x $WEBTPL/$WEB_SYSTEM/$WEB_BACKEND/$template.sh ]; then
|
|||
fi
|
||||
|
||||
# Checking web config include
|
||||
web_include="/etc/$WEB_SYSTEM/conf.d/vesta.conf"
|
||||
web_conf="/etc/$WEB_SYSTEM/conf.d/vesta.conf"
|
||||
web_include=$(grep "$conf" $web_conf )
|
||||
if [ -z "$web_include" ] && [ "$WEB_SYSTEM" != 'nginx' ]; then
|
||||
echo "Include $conf" >> $web_conf
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue