From c082411c992b3e182d30cc08133db5e14b6e1633 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 12 Dec 2025 16:14:29 +0100 Subject: update to 1.7-rc raise dependency on PHP 8.1 --- roundcubemail.nginx | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'roundcubemail.nginx') 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; -- cgit