@@ -894,7 +894,6 @@ sed -i "s/rdAuthentication no/rdAuthentication yes/g" /etc/ssh/sshd_config
894894# Enable SFTP subsystem for SSH
895895sftp_subsys_enabled=$( grep -iE " ^#?.*subsystem.+(sftp )?sftp-server" /etc/ssh/sshd_config)
896896if [ ! -z " $sftp_subsys_enabled " ]; then
897- echo " (*) Updating SFTP subsystem configuration..."
898897 sed -i -E " s/^#?.*Subsystem.+(sftp )?sftp-server/Subsystem sftp internal-sftp/g" /etc/ssh/sshd_config
899898fi
900899
@@ -1117,7 +1116,6 @@ if [ "$nginx" = 'yes' ]; then
11171116 cp -f $hestiacp /nginx/status.conf /etc/nginx/conf.d/
11181117 cp -f $hestiacp /nginx/phpmyadmin.inc /etc/nginx/conf.d/
11191118 cp -f $hestiacp /nginx/phppgadmin.inc /etc/nginx/conf.d/
1120- cp -f $hestiacp /nginx/webmail.inc /etc/nginx/conf.d/
11211119 cp -f $hestiacp /logrotate/nginx /etc/logrotate.d/
11221120 mkdir -p /etc/nginx/conf.d/domains
11231121 mkdir -p /var/log/nginx/domains
@@ -1508,6 +1506,9 @@ if [ "$dovecot" = 'yes' ] && [ "$mysql" = 'yes' ]; then
15081506 cp -f $hestiacp /roundcube/apache.conf /etc/roundcube/
15091507 ln -s /etc/roundcube/apache.conf /etc/apache2/conf.d/roundcube.conf
15101508 fi
1509+ if [ " $nginx " = ' yes' ]; then
1510+ cp -f $hestiacp /nginx/webmail.inc /etc/nginx/conf.d/
1511+ fi
15111512 cp -f $hestiacp /roundcube/main.inc.php /etc/roundcube/config.inc.php
15121513 cp -f $hestiacp /roundcube/db.inc.php /etc/roundcube/debian-db-roundcube.php
15131514 cp -f $hestiacp /roundcube/config.inc.php /etc/roundcube/plugins/password/
0 commit comments