Fixing ssl directive in nginx templates

This commit is contained in:
myvesta 2020-06-11 16:13:29 +02:00 committed by GitHub
commit 9cdfaf483f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,6 +118,13 @@ if [ ! -f "/usr/local/vesta/data/upgrades/keeping-mpm-event" ]; then
/usr/local/vesta/bin/v-add-cron-restart-job > /dev/null 2>&1 /usr/local/vesta/bin/v-add-cron-restart-job > /dev/null 2>&1
fi fi
# Fixing ssl directive in nginx templates
if [ ! -f "/usr/local/vesta/data/upgrades/fix_ssl_directive_in_templates" ]; then
touch /usr/local/vesta/data/upgrades/fix_ssl_directive_in_templates
echo "=== Fixing ssl directive in nginx templates"
bash /usr/local/vesta/upd/fix_ssl_directive_in_templates.sh
fi
# Run custom triggers # Run custom triggers
if [ -x "/root/vesta-patch.sh" ]; then if [ -x "/root/vesta-patch.sh" ]; then
/root/vesta-patch.sh /root/vesta-patch.sh