Updated based on recommendations from .htaccess
This commit is contained in:
parent
5210db9e8b
commit
8cac4cd5e7
|
@ -26,16 +26,13 @@
|
|||
index index.php;
|
||||
alias /usr/local/lib/roundcubemail/;
|
||||
}
|
||||
location ~ ^/mail/(config|temp|logs)/ {
|
||||
location ~ ^/mail/(config|temp|logs|bin|SQL)/ {
|
||||
deny all;
|
||||
}
|
||||
location ~ ^/mail/(README|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
|
||||
deny all;
|
||||
}
|
||||
location ~ ^/mail/(bin|SQL)/ {
|
||||
deny all;
|
||||
}
|
||||
location ~ ^/mail/(.+\.md)$ {
|
||||
location ~ ^/mail/(.+\.md|composer\.json.*|package\.xml|Dockerfile)$ {
|
||||
deny all;
|
||||
}
|
||||
location ~ ^/mail/\. {
|
||||
|
|
Loading…
Reference in New Issue