@@ -19,12 +19,12 @@ cp -f $hestiacp/ssl/dhparam.pem /etc/ssl/
1919chmod 600 /etc/ssl/dhparam.pem
2020
2121# Enhance Vsftpd security
22- echo " (*) Modifying Vsftpd SSL configuration..."
22+ echo " (*) Hardening Vsftpd SSL configuration..."
2323cp -f /etc/vsftpd.conf $HESTIA_BACKUP /conf/
2424sed -i " s|ssl_tlsv1=YES|ssl_tlsv1=NO|g" /etc/vsftpd.conf
2525
2626# Enhance Dovecot security
27- echo " (*) Modifying Dovecot SSL configuration..."
27+ echo " (*) Hardening Dovecot SSL configuration..."
2828mv /etc/dovecot/conf.d/10-ssl.conf $HESTIA_BACKUP /conf/
2929cp -f $hestiacp /dovecot/conf.d/10-ssl.conf /etc/dovecot/conf.d/
3030
@@ -45,18 +45,17 @@ WEBALIZER_CHECK=$(cat $HESTIA/conf/hestia.conf | grep webalizer)
4545if [ ! -z " $WEBALIZER_CHECK " ]; then
4646 echo " (*) Removing Webalizer and setting AWStats as default web statistics backend..."
4747 apt purge webalizer -y > /dev/null 2>&1
48- rm -fr $HESTIA /data/templates/web/webalizer
49- rm -fr $HESTIA /install/deb/templates/web/webalizer
50- rm -fr /var/www/webalizer
48+ rm -rf $HESTIA /data/templates/web/webalizer
49+ rm -rf /var/www/webalizer
5150 sed -i " s/STATS_SYSTEM='webalizer,awstats'/STATS_SYSTEM='awstats'/g" $HESTIA /conf/hestia.conf
5251fi
5352
5453# Remove old hestia.conf files from Apache & NGINX if they exist
5554if [ -f " /etc/nginx/conf.d/hestia.conf" ]; then
56- echo " (*) Removing old Apache configuration file..."
55+ echo " (*) Removing Apache configuration file from previous version of Hestia Control Panel ..."
5756 rm -f /etc/apache2/conf.d/hestia.conf
5857fi
5958if [ -f " /etc/nginx/conf.d/hestia.conf" ]; then
60- echo " (*) Removing old NGINX configuration file..."
59+ echo " (*) Removing old NGINX configuration file from previous version of Hestia Control Panel ..."
6160 rm -f /etc/nginx/conf.d/hestia.conf
6261fi
0 commit comments