We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d4058bf + 292e283 commit fe045c5Copy full SHA for fe045c5
bin/v-change-sys-webmail
@@ -47,6 +47,7 @@ if [ "$WEB_SYSTEM" = "apache2" ]; then
47
fi
48
if [ -e "/etc/nginx/conf.d/webmail.inc" ]; then
49
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
51
52
53
#----------------------------------------------------------#
0 commit comments