Browse Source

Backup webmail.inc before modification

Alexandros Ioannides 6 years ago
parent
commit
efd8766530
1 changed files with 1 additions and 0 deletions
  1. 1 0
      install/upgrade/versions/1.0.2.sh

+ 1 - 0
install/upgrade/versions/1.0.2.sh

@@ -65,4 +65,5 @@ if [ ! -z "$IMAP_SYSTEM" ]; then
 fi 
 
 # Enhance webmail security
+cp -f /etc/nginx/conf.d/webmail.inc $HESTIA_BACKUP/conf/
 sed -i "s/config|temp|logs/README.md|config|temp|logs|bin|SQL|INSTALL|LICENSE|CHANGELOG|UPGRADING/g" /etc/nginx/conf.d/webmail.inc