mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
Update fix_ssl_directive_in_templates.sh
This commit is contained in:
parent
fd49534c2e
commit
023234299f
1 changed files with 4 additions and 1 deletions
|
@ -15,12 +15,15 @@ if [ "$release" -eq 9 ] || [ "$release" -eq 10 ]; then
|
||||||
sed -i "s|ssl *on;|#ssl_on;|g" $FILE
|
sed -i "s|ssl *on;|#ssl_on;|g" $FILE
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
source /etc/profile
|
||||||
|
PATH=$PATH:/usr/local/vesta/bin && export PATH
|
||||||
|
|
||||||
for user in $(grep '@' /etc/passwd |cut -f1 -d:); do
|
for user in $(grep '@' /etc/passwd |cut -f1 -d:); do
|
||||||
if [ ! -f "/usr/local/vesta/data/users/$user/user.conf" ]; then
|
if [ ! -f "/usr/local/vesta/data/users/$user/user.conf" ]; then
|
||||||
continue;
|
continue;
|
||||||
fi
|
fi
|
||||||
v-rebuild-web-domains $user 'no'
|
/usr/local/vesta/bin/v-rebuild-web-domains $user 'no'
|
||||||
done
|
done
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue