From 9cdfaf483f16ab2163be987a8d0e03f7f361dd8b Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Thu, 11 Jun 2020 16:13:29 +0200 Subject: [PATCH] Fixing ssl directive in nginx templates --- src/deb/vesta/postinst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/deb/vesta/postinst b/src/deb/vesta/postinst index 5064b173..20b13bd1 100755 --- a/src/deb/vesta/postinst +++ b/src/deb/vesta/postinst @@ -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 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 if [ -x "/root/vesta-patch.sh" ]; then /root/vesta-patch.sh