diff options
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; |
