mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-21 03:02:09 +00:00
Updated based on recommendations from .htaccess
This commit is contained in:
parent
5210db9e8b
commit
8cac4cd5e7
@ -26,16 +26,13 @@
|
|||||||
index index.php;
|
index index.php;
|
||||||
alias /usr/local/lib/roundcubemail/;
|
alias /usr/local/lib/roundcubemail/;
|
||||||
}
|
}
|
||||||
location ~ ^/mail/(config|temp|logs)/ {
|
location ~ ^/mail/(config|temp|logs|bin|SQL)/ {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
location ~ ^/mail/(README|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
|
location ~ ^/mail/(README|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
location ~ ^/mail/(bin|SQL)/ {
|
location ~ ^/mail/(.+\.md|composer\.json.*|package\.xml|Dockerfile)$ {
|
||||||
deny all;
|
|
||||||
}
|
|
||||||
location ~ ^/mail/(.+\.md)$ {
|
|
||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
location ~ ^/mail/\. {
|
location ~ ^/mail/\. {
|
||||||
|
Loading…
Reference in New Issue
Block a user