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 f83731f commit 869b6daCopy full SHA for 869b6da
install/upgrade/versions/latest.sh
@@ -14,4 +14,12 @@ $BIN/v-update-web-templates
14
echo "[ ! ] Updating default mail domain templates..."
15
$BIN/v-update-mail-templates
16
echo "[ ! ] Updating default DNS zone templates..."
17
-$BIN/v-update-dns-templates
+$BIN/v-update-dns-templates
18
+
19
+# Enhance Vsftpd security
20
+if [ "$FTP_SYSTEM" = "vsftpd" ]; then
21
+ echo "[ ! ] Hardening Vsftpd TLS configuration..."
22
+ cp -f /etc/vsftpd.conf $HESTIA_BACKUP/conf/
23
+ cp -f $HESTIA_INSTALL_DIR/vsftpd/vsftpd.conf /etc/
24
+ chmod 644 /etc/vsftpd.conf
25
+fi
0 commit comments