diff options
| author | Remi Collet <remi@remirepo.net> | 2025-12-12 16:14:29 +0100 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2025-12-12 16:14:29 +0100 |
| commit | c082411c992b3e182d30cc08133db5e14b6e1633 (patch) | |
| tree | d5036ff35df4ad5505eb6e26bd360d40f3a8e956 /roundcubemail.nginx | |
| parent | f0e787a353049cf93f99bb519e6b8d7c970e6554 (diff) | |
raise dependency on PHP 8.1
Diffstat (limited to 'roundcubemail.nginx')
| -rw-r--r-- | roundcubemail.nginx | 11 |
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; |
