summaryrefslogtreecommitdiffstats
path: root/roundcubemail.nginx
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-12-12 16:14:29 +0100
committerRemi Collet <remi@php.net>2025-12-12 16:14:29 +0100
commitc082411c992b3e182d30cc08133db5e14b6e1633 (patch)
treed5036ff35df4ad5505eb6e26bd360d40f3a8e956 /roundcubemail.nginx
parentf0e787a353049cf93f99bb519e6b8d7c970e6554 (diff)
update to 1.7-rcHEADmaster
raise dependency on PHP 8.1
Diffstat (limited to 'roundcubemail.nginx')
-rw-r--r--roundcubemail.nginx11
1 files changed, 2 insertions, 9 deletions
diff --git a/roundcubemail.nginx b/roundcubemail.nginx
index 8866792..c63dfce 100644
--- a/roundcubemail.nginx
+++ b/roundcubemail.nginx
@@ -1,22 +1,15 @@
location = /roundcubemail {
- alias /usr/share/roundcubemail/;
+ alias /usr/share/roundcubemail/public_html/;
}
location /roundcubemail/ {
root /usr/share;
index index.php;
- location ~ ^/roundcubemail/bin/(.+)$ {
- deny all;
- }
- location ~ ^/roundcubemail/plugins/enigma/home/(.+)$ {
- deny all;
- }
-
# Define who can access the installer
# keep this secured once configured
- location ~ ^/roundcubemail/installer/(.+\.php)$ {
+ location ~ ^/roundcubemail/installer\.php$ {
allow 127.0.0.1;
allow ::1;
deny all;