Skip to content

Commit d63c4a8

Browse files
authored
hestiacp#2267 Update templates to allow .user.ini to be used (hestiacp#2269)
* hestiacp#2267 Update templates to allow .user.ini to be used * Upgrade mail templates require users rebuild
1 parent 7e21598 commit d63c4a8

File tree

5 files changed

+24
-4
lines changed

5 files changed

+24
-4
lines changed

install/deb/templates/mail/nginx/rainloop.stpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ location / {
3434
}
3535

3636
location ~ ^/(.*\.php)$ {
37-
alias /var/lib/rainloop/$1;
3837
fastcgi_pass 127.0.0.1:9000;
3938
fastcgi_index index.php;
4039
include fastcgi_params;

install/deb/templates/mail/nginx/rainloop.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ location / {
3131
}
3232

3333
location ~ ^/(.*\.php)$ {
34-
alias /var/lib/rainloop/$1;
3534
fastcgi_pass 127.0.0.1:9000;
3635
fastcgi_index index.php;
3736
include fastcgi_params;

install/deb/templates/mail/nginx/web_system.stpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ server {
2929
}
3030

3131
location ~ ^/(.*\.php)$ {
32-
alias /var/lib/roundcube/$1;
3332
fastcgi_pass 127.0.0.1:9000;
3433
fastcgi_index index.php;
3534
include fastcgi_params;

install/deb/templates/mail/nginx/web_system.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ server {
2626
}
2727

2828
location ~ ^/(.*\.php)$ {
29-
alias /var/lib/roundcube/$1;
3029
fastcgi_pass 127.0.0.1:9000;
3130
fastcgi_index index.php;
3231
include fastcgi_params;

install/upgrade/versions/1.5.2.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
3+
# Hestia Control Panel upgrade script for target version 1.5.2
4+
5+
#######################################################################################
6+
####### Place additional commands below. #######
7+
#######################################################################################
8+
####### Pass trough information to the end user incase of a issue or problem #######
9+
####### #######
10+
####### Use add_upgrade_message "My message here" to include a message #######
11+
####### to the upgrade email. Please add it using: #######
12+
####### #######
13+
####### add_upgrade_message "My message here" #######
14+
####### #######
15+
####### You can use \n within the string to create new lines. #######
16+
#######################################################################################
17+
18+
echo "[ * ] Apply changes for 1.5.2"
19+
20+
upgrade_config_set_value 'UPGRADE_UPDATE_WEB_TEMPLATES' 'false'
21+
upgrade_config_set_value 'UPGRADE_UPDATE_DNS_TEMPLATES' 'false'
22+
upgrade_config_set_value 'UPGRADE_UPDATE_MAIL_TEMPLATES' 'true'
23+
upgrade_config_set_value 'UPGRADE_REBUILD_USERS' 'true'
24+
upgrade_config_set_value 'UPGRADE_UPDATE_FILEMANAGER_CONFIG' 'false'

0 commit comments

Comments
 (0)