File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ All notable changes to this project will be documented in this file.
5757- Fixed MultiPHP upgrade script to update all web templates.
5858- Fixed report issue link in installer scripts.
5959- Fixed database user authentification on backup restore.
60+ - Added robots.txt for roundcube webmail to prevent search bot crawling.
6061
6162## [ 1.0.6] - 2019-09-24 - Hotfix
6263### Bugfixes
Original file line number Diff line number Diff line change @@ -1559,6 +1559,10 @@ if [ "$dovecot" = 'yes' ] && [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
15591559 # Configure webmail alias
15601560 echo " WEBMAIL_ALIAS='webmail'" >> $HESTIA /conf/hestia.conf
15611561
1562+ # Add robots.txt
1563+ echo " User-agent: *" > /var/lib/roundcube/robots.txt
1564+ echo " Disallow: /" >> /var/lib/roundcube/robots.txt
1565+
15621566 # Restart services
15631567 if [ " $apache " = ' yes' ]; then
15641568 systemctl restart apache2
Original file line number Diff line number Diff line change @@ -1484,6 +1484,10 @@ if [ "$dovecot" = 'yes' ] && [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
14841484 # Configure webmail alias
14851485 echo " WEBMAIL_ALIAS='webmail'" >> $HESTIA /conf/hestia.conf
14861486
1487+ # Add robots.txt
1488+ echo " User-agent: *" > /var/lib/roundcube/robots.txt
1489+ echo " Disallow: /" >> /var/lib/roundcube/robots.txt
1490+
14871491 phpenmod mcrypt > /dev/null 2>&1
14881492
14891493 # Restart services
You can’t perform that action at this time.
0 commit comments