Skip to content

Commit fe045c5

Browse files
author
Kristan Kenney
authored
Merge pull request hestiacp#498 from hestiacp/bugfix-changesyswebmail
Fix webmail alias replacement
2 parents d4058bf + 292e283 commit fe045c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/v-change-sys-webmail

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ if [ "$WEB_SYSTEM" = "apache2" ]; then
4747
fi
4848
if [ -e "/etc/nginx/conf.d/webmail.inc" ]; then
4949
sed -i "s|location \/$OLD_ALIAS|location \/$NEW_ALIAS|gI" /etc/nginx/conf.d/webmail.inc
50+
sed -i "s|location ~ ^\/$OLD_ALIAS|location ~ ^\/$NEW_ALIAS|gI" /etc/nginx/conf.d/webmail.inc
5051
fi
5152

5253
#----------------------------------------------------------#

0 commit comments

Comments
 (0)