Skip to content

Commit 2e01ba2

Browse files
Merge pull request hestiacp#914 from felipenovais/fix-path-phpmyadmin.inc-and-fix-static-assets-not-loading-on-webmail
(RHEL7) Fix path in phpmyadmin.inc and fix static resources (css, js, imgs) not loading in RoundCube
2 parents 9050257 + 25f4e0e commit 2e01ba2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

install/rhel/7/nginx/phpmyadmin.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ location /phpmyadmin {
1313
fastcgi_param SCRIPT_FILENAME $request_filename;
1414
}
1515
location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
16-
root /usr/share/;
16+
alias /usr/share/phpMyAdmin/$1;
1717
}
1818
}

install/rhel/7/nginx/webmail.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ location /webmail {
1212
include fastcgi_params;
1313
fastcgi_param SCRIPT_FILENAME $request_filename;
1414
}
15+
location ~* ^/webmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
16+
alias /usr/share/roundcubemail/$1;
17+
}
1518
}

0 commit comments

Comments
 (0)